PORTNAME= wanted-ports PORTVERSION= 0.3 #PORTREVISION is set from ${CFGFILE} CATEGORIES= ports-mgmt MASTER_SITES= # none DISTFILES= # none MAINTAINER= matthew@FreeBSD.org COMMENT= Just depend on a configurable, arbitrary set of other ports LICENSE= BSD2CLAUSE NO_ARCH= yes NO_BUILD= yes SUB_FILES= ${PORTNAME} \ ${PORTNAME}.1 SUB_LIST= PORTNAME=${PORTNAME} \ PKGNAME=${PKGNAME} PLIST_SUB= PORTNAME=${PORTNAME} PLIST_FILES= bin/${PORTNAME} \ share/man/man1/${PORTNAME}.1.gz .if defined(WANTEDPORTSCFG) CFGFILE= ${WANTEDPORTSCFG} .else CFGFILE?= /var/db/${PORTNAME}.conf .endif .if exists(${CFGFILE}) .include "${CFGFILE}" .endif do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_MAN} ${WRKDIR}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1/ .include