diff options
Diffstat (limited to 'print/papersize/Makefile')
-rw-r--r-- | print/papersize/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/print/papersize/Makefile b/print/papersize/Makefile new file mode 100644 index 00000000000..64b67e97327 --- /dev/null +++ b/print/papersize/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 1998/11/09 17:55:22 agc Exp $ +# + +DISTNAME= papersize-1.0 +CATEGORIES= print +MASTER_SITES= # empty +DISTFILES= # empty + +MAINTAINER= packages@netbsd.org + +EXTRACT_ONLY= # empty +NO_WRKSUBDIR= yes +NO_CHECKSUM= yes +NO_PATCH= yes +NO_CONFIGURE= yes + +do-build: + for f in setpapersize getpapersize; do \ + ${SED} -e 's|@localbase@|${LOCALBASE}|g' \ + -e 's|@x11base@|${X11BASE}|g' \ + ${FILESDIR}/$$f > ${WRKSRC}/$$f; \ + done + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/setpapersize ${PREFIX}/bin/setpapersize + ${INSTALL_SCRIPT} ${WRKSRC}/getpapersize ${PREFIX}/bin/getpapersize + ${INSTALL_MAN} ${FILESDIR}/getpapersize.1 ${PREFIX}/man/man1/getpapersize.1 + ${INSTALL_MAN} ${FILESDIR}/setpapersize.1 ${PREFIX}/man/man1/setpapersize.1 + +.include "../../mk/bsd.pkg.mk" |