1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/print/p910nd/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

31 lines
715 B
Makefile

PORTNAME= p910nd
PORTVERSION= 0.97
CATEGORIES= print net
MASTER_SITES= SF
MAINTAINER= skozlov@FreeBSD.org
COMMENT= Port 9100+n printer daemon
LICENSE= GPLv2
USES= tar:bzip2
USE_RC_SUBR= p910nd
P910ND_RUNDIR= /var/run/${PORTNAME}
PLIST_SUB= P910ND_RUNDIR=${P910ND_RUNDIR}
CFLAGS+= -DLOCKFILE_DIR="\"${P910ND_RUNDIR}\"" -DUSE_WRAP
do-build:
${CC} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c ${CFLAGS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.pl ${STAGEDIR}${DATADIR}
${MKDIR} ${STAGEDIR}${P910ND_RUNDIR}
.include <bsd.port.mk>