freebsd-ports/www/samdruckerserver/Makefile
Dan Langille bd77006d89 Add the server side of SamDrucker
SamDrucker is a collection of small components which create a centralized list
of all packages on all hosts.

The client is at sysutils/samdruckerclientshell
2020-07-15 19:52:34 +00:00

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>