32 lines
848 B
Makefile
32 lines
848 B
Makefile
# $NetBSD: Makefile,v 1.18 2004/02/17 12:50:30 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= papersize-1.0.8
|
|
CATEGORIES= print
|
|
MASTER_SITES= # empty
|
|
DISTFILES= # empty
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
COMMENT= Manipulate the default papersize in certain packages
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
EXTRACT_ONLY= # empty
|
|
USE_LANGUAGES= # empty
|
|
NO_CHECKSUM= yes
|
|
NO_CONFIGURE= yes
|
|
NO_BUILDLINK= yes
|
|
USE_PKGINSTALL= yes
|
|
|
|
do-build:
|
|
@for f in setpapersize getpapersize; do \
|
|
${SED} ${FILES_SUBST_SED} \
|
|
${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"
|