1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/print/p910nd/Makefile
Kurt Jaeger 80b9d5c45e New port: print/p910nd
p910nd is a small printer daemon intended for diskless workstations
that does not spool to disk but passes the job directly to the printer.

WWW: http://p910nd.sourceforge.net/

PR:		180446
Submitted by:	kozlov.sergey.404@gmail.com
2014-08-09 19:54:58 +00:00

32 lines
698 B
Makefile

# $FreeBSD$
PORTNAME= p910nd
PORTVERSION= 0.97
CATEGORIES= print net
MASTER_SITES= SF
MAINTAINER= kozlov.sergey.404@gmail.com
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}
.include <bsd.port.mk>