2012-10-08 15:45:34 +02:00
|
|
|
# $NetBSD: Makefile,v 1.22 2012/10/08 13:45:43 asau Exp $
|
2000-11-23 14:47:00 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= pcps840
|
|
|
|
PKGNAME= pcps-8.40
|
2006-04-12 22:57:39 +02:00
|
|
|
PKGREVISION= 1
|
2000-11-23 14:47:00 +01:00
|
|
|
CATEGORIES= print textproc
|
|
|
|
MASTER_SITES= ftp://garbo.uwasa.fi/unix/pcps/
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2000-11-23 14:47:00 +01:00
|
|
|
HOMEPAGE= http://www.swreg.org/soft_shop/695/shopscr3.shtml
|
2003-07-21 19:10:16 +02:00
|
|
|
COMMENT= Converts text files to PostScript(tm)
|
2009-05-19 10:59:00 +02:00
|
|
|
LICENSE= pcps-license
|
|
|
|
|
|
|
|
RESTRICTED= This is shareware for your evaluation and subsequent payment
|
|
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_CDROM=${RESTRICTED}
|
2000-11-23 14:47:00 +01:00
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
2006-09-09 04:41:53 +02:00
|
|
|
MAKE_FILE= makefile
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET=
|
2000-11-23 14:47:00 +01:00
|
|
|
MAKE_ENV+= "CC=${CC} ${CFLAGS} -DUNIX"
|
2001-01-29 12:34:21 +01:00
|
|
|
NO_CONFIGURE= yes
|
2000-11-23 14:47:00 +01:00
|
|
|
|
2008-06-12 04:14:13 +02:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/pcps share/examples/pcps
|
2005-06-17 05:50:19 +02:00
|
|
|
|
2006-04-12 22:57:39 +02:00
|
|
|
CONF_FILES+= ${PREFIX}/share/examples/pcps/pcps.cfg ${PREFIX}/bin/pcps.cfg
|
|
|
|
|
2001-12-04 12:54:31 +01:00
|
|
|
post-patch:
|
|
|
|
${SED} "s,@PREFIX@,${PREFIX},g" ${FILESDIR}/pcps.1 > ${WRKDIR}/pcps.1
|
|
|
|
|
2000-11-23 14:47:00 +01:00
|
|
|
do-install:
|
2008-06-12 04:14:13 +02:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/pcps ${DESTDIR}${PREFIX}/bin/pcps
|
|
|
|
@${INSTALL_MAN} ${WRKDIR}/pcps.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/license.doc ${DESTDIR}${PREFIX}/share/doc/pcps
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/register.doc ${DESTDIR}${PREFIX}/share/doc/pcps
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/pcps.man ${DESTDIR}${PREFIX}/share/doc/pcps
|
|
|
|
@${INSTALL_DATA} ${FILESDIR}/pcps.cfg ${DESTDIR}${PREFIX}/share/examples/pcps/pcps.cfg
|
2000-11-23 14:47:00 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|