]> sbz's 6dev Repos - freebsd-maintainer-scripts/.git/commitdiff
fms: fix ports packaging installation master origin/HEAD origin/master
authorSofian Brabez <sbz@6dev.net>
Mon, 7 Feb 2022 14:59:46 +0000 (14:59 +0000)
committerSofian Brabez <sbz@6dev.net>
Mon, 7 Feb 2022 14:59:46 +0000 (14:59 +0000)
ports-mgmt/freebsd-maintainer-scripts/Makefile
ports-mgmt/freebsd-maintainer-scripts/pkg-plist [new file with mode: 0644]

index 29491d0fe926087cf0c839db0c37cb8af91beb11..6cc1d7969b9cecf2f7600abd9ca898e28ab24dd8 100644 (file)
@@ -18,16 +18,17 @@ RUN_DEPENDS=        ${BUILD_DEPENDS}
 
 NO_BUILD=      yes
 USE_GITHUB=    yes
+USES=          python
 
 GH_ACCOUNT=    sbz
 GH_PROJECT=    freebsd-maintainer-scripts
 GH_TAGNAME=    a0e9912
 
-post-patch:
+do-install:
        @${MKDIR} ${STAGEDIR}/usr/bin/
-       cp ${WRKSRC}/check-distfile.sh ${STAGEDIR}/usr/bin/fms-check-distfile
-       cp ${WRKSRC}/ftabs.py ${STAGEDIR}/usr/bin/fms-ftabs
-       cp ${WRKSRC}/gensrc ${STAGEDIR}/usr/bin/fms-gensrc
-       cp ${WRKSRC}/getprs.py ${STAGEDIR}/usr/bin/fms-getpr
+       ${INSTALL_SCRIPT} ${WRKSRC}/check-distfile.sh ${STAGEDIR}${PREFIX}/bin/fms-check-distfile
+       ${INSTALL_SCRIPT} ${WRKSRC}/ftabs.py ${STAGEDIR}${PREFIX}/bin/fms-ftabs
+       ${INSTALL_SCRIPT} ${WRKSRC}/gensrc ${STAGEDIR}${PREFIX}/bin/fms-gensrc
+       ${INSTALL_SCRIPT} ${WRKSRC}/getprs.py ${STAGEDIR}${PREFIX}/bin/fms-getpr
 
 .include <bsd.port.mk>
diff --git a/ports-mgmt/freebsd-maintainer-scripts/pkg-plist b/ports-mgmt/freebsd-maintainer-scripts/pkg-plist
new file mode 100644 (file)
index 0000000..1d29e31
--- /dev/null
@@ -0,0 +1,4 @@
+bin/fms-check-distfile
+bin/fms-ftabs
+bin/fms-gensrc
+bin/fms-getpr