1 # New ports collection makefile for: cdn-base
2 # Date created: 25 Aug 2012
3 # Whom: CyberLeo <cyberleo@cyberleo.net>
15 MAINTAINER= cyberleo@cyberleo.net
16 COMMENT= Depends upon and helps configure ports installed by default
18 VALID_CATEGORIES += misc-cdn
22 OPTIONS_DEFINE= GIT PV
23 GIT_DESC= Depend on devel/git
24 PV_DESC= Depend on misc/pv for a progress bar
25 OPTIONS_DEFAULT=GIT PV
27 PLIST_FILES= %%DATADIR%%/setup-cdn-base
28 SUB_FILES= pkg-message setup-cdn-base
30 RUN_DEPENDS+= portaudit:${PORTSDIR}/ports-mgmt/portaudit \
31 portmaster:${PORTSDIR}/ports-mgmt/portmaster \
32 ${LOCALBASE}/share/bash-config/fixuser:${PORTSDIR}/misc-cdn/bash-config \
33 flag:${PORTSDIR}/misc-cdn/flag \
34 sudo:${PORTSDIR}/security/sudo \
35 rsync:${PORTSDIR}/net/rsync \
36 screen:${PORTSDIR}/sysutils/screen
38 .include <bsd.port.options.mk>
40 .if ${PORT_OPTIONS:MGIT}
41 RUN_DEPENDS+= git:${PORTSDIR}/devel/git
44 .if ${PORT_OPTIONS:MPV}
45 RUN_DEPENDS+= pv:${PORTSDIR}/sysutils/pv
50 ${INSTALL_SCRIPT} ${WRKDIR}/setup-cdn-base ${DATADIR}/setup-cdn-base
55 .include <bsd.port.mk>