bd77006d89
SamDrucker is a collection of small components which create a centralized list of all packages on all hosts. The client is at sysutils/samdruckerclientshell
37 lines
894 B
Makefile
37 lines
894 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= samdrucker
|
|
PORTVERSION= 0.2.3
|
|
CATEGORIES= www
|
|
PKGNAMESUFFIX= server
|
|
|
|
MAINTAINER= dvl@FreeBSD.org
|
|
COMMENT= Installs the server side of SamDrucker
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= apache php
|
|
|
|
USE_PHP= json pdo_pgsql
|
|
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= dlangille
|
|
GH_PROJECT= SamDrucker
|
|
|
|
SUB_FILES= samdrucker.conf.sample
|
|
|
|
PLIST_SUB= ETCDIR="${ETCDIR}"
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${WWWDIR}
|
|
${MKDIR} ${STAGEDIR}${ETCDIR}
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/Includes
|
|
${INSTALL_SCRIPT} ${WRKSRC}/servers/php/samdrucker.php ${STAGEDIR}${WWWDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/servers/php/samdrucker.conf.sample ${STAGEDIR}${ETCDIR}/samdruckerserver.conf.sample
|
|
${INSTALL_DATA} ${WRKDIR}/samdrucker.conf.sample ${STAGEDIR}/${PREFIX}/${APACHEETCDIR}/Includes/samdruckerserver.conf.sample
|
|
.include <bsd.port.mk>
|