Prepare upcoming port/package skeleton
authorSofian Brabez <sbz@6dev.net>
Fri, 12 Mar 2021 16:40:05 +0000 (16:40 +0000)
committersbz <sbz@6dev.net>
Fri, 12 Mar 2021 16:40:05 +0000 (16:40 +0000)
ports-mgmt/freebsd-maintainer-scripts/Makefile

index 8178ae0a51552f1bf84c06f4689d15fc3dce755a..ca11d4f13f8760e31a1e44049001f28fcd5e1a0c 100644 (file)
@@ -1,15 +1,30 @@
-# $FreeBSD$
-
 PORTNAME=              freebsd-maintainer-scripts
-DISTVERSION=
 CATEGORIES=            ports-mgmt
-MASTER_SITES=
 
-MAINTAINER=
-COMMENT=
+MAINTAINER=            sbz@FreeBSD.org
+COMMENT=               Script utilities for maintainer tasks
 
-LICENSE=
-LICENSE_FILE=
+LICENSE=               BSD
+LICENSE_FILE=  ${WRKSRC}/LICENSE
 
-.include <bsd.port.mk>
+BUILD_DEPENDS= distilator>0:${PORTSDIR}/ports-mgmt/distilator \
+                               subversion>0:${PORTSDIR}/devel/subversion \
+                               python3>0:${PORTSDIR}/lang/python3 \
+                               portlint>0:${PORTSDIR}/ports-mgmt/portlint \
+                               poudriere>0:${PORTSDIR}/devel/poudriere
+
+RUN_DEPENDS=   ${BUILD_DEPENDS}
+
+NO_BUILD=      yes
+USE_GITHUB=    yes
 
+GH_ACCOUNT=    sbz
+GH_PROJECT=    freebsd-maintainer-scripts
+
+build:
+       mkdir -p ${STAGEDIR}/usr/bin/
+       cp ${WKRSRC}/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
+
+.include <bsd.port.mk>