blob: 2eda926bc82455e4dcb422e70c235449ae20e98a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
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 <bsd.port.mk>
|