1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/print/p910nd/Makefile
Serhii (Sergey) Kozlov f4f6422df2 Change MAINTAINER in my ports to @FreeBSD.org email
Approved By: sbruno
Differential Revision: https://reviews.freebsd.org/D17284
2018-09-23 08:13:44 +00:00

33 lines
728 B
Makefile

# $FreeBSD$
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>