# Created by: Matthew Seaman # $FreeBSD: head/ports-mgmt/wanted-ports/Makefile 374209 2014-12-07 14:53:39Z feld $ PORTNAME= wanted-ports PORTVERSION= 0.2 #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} \ 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}${MANPREFIX}/man/man1/ .include