fea329cac3
on daemontools and ucspi-tcp{6,}. Bump version.
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.5 2018/07/29 23:51:02 schmonz Exp $
|
|
|
|
DISTNAME= publicfile-run-20180730
|
|
CATEGORIES= net
|
|
MASTER_SITES= # empty
|
|
DISTFILES= # empty
|
|
|
|
MAINTAINER= jlmuir@imca-cat.org
|
|
COMMENT= Configures publicfile to serve public files
|
|
LICENSE= 2-clause-bsd
|
|
|
|
DEPENDS+= publicfile>=0.52:../../net/publicfile
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
NO_BUILD= yes
|
|
NO_CHECKSUM= yes
|
|
REPLACE_SH= libexec-pubftpd
|
|
|
|
PKG_GROUPS= pubfile
|
|
PKG_USERS+= pubftp:pubfile
|
|
PKG_USERS+= pubhttp:pubfile
|
|
PKG_USERS+= publog:pubfile
|
|
RCD_SCRIPTS= pubfile pubftpd pubhttpd
|
|
|
|
MESSAGE_SUBST+= VARBASE=${VARBASE:Q}
|
|
|
|
FILES_SUBST+= PKGNAME=${PKGNAME:Q}
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_MESSAGE.paths= Substituting paths.
|
|
SUBST_STAGE.paths= pre-configure
|
|
SUBST_FILES.paths= libexec-pubftpd
|
|
SUBST_VARS.paths= PREFIX
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
INSTALLATION_DIRS= libexec share/doc/publicfile-run
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
post-extract:
|
|
${CP} ${FILESDIR}/libexec-pubftpd.sh ${WRKSRC}/libexec-pubftpd
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/libexec-pubftpd \
|
|
${DESTDIR}${PREFIX}/libexec/pubftpd
|
|
${INSTALL_DATA} ${FILESDIR}/README.pkgsrc \
|
|
${DESTDIR}${PREFIX}/share/doc/publicfile-run
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|