2001-04-14 23:43:38 +02:00
|
|
|
# $NetBSD: Makefile,v 1.4 2001/04/14 21:43:44 jtb Exp $
|
2001-02-01 05:34:23 +01:00
|
|
|
|
|
|
|
DISTNAME= pgraf-20010131
|
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
|
2001-04-14 23:43:38 +02:00
|
|
|
MAINTAINER= packages@netbsd.org
|
2001-02-16 16:22:13 +01:00
|
|
|
COMMENT= Portable graphics system
|
2001-02-01 05:34:23 +01:00
|
|
|
|
|
|
|
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
|
|
|
|
USE_X11= YES
|
|
|
|
|
2001-04-11 23:49:15 +02:00
|
|
|
CONFLICTS= pgp5-* # Both have a `pgps' executable
|
|
|
|
|
2001-02-01 05:34:23 +01:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/include/pgraf.h ${PREFIX}/include
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pgraf
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/pgraf_paper ${PREFIX}/share/doc/pgraf
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/man/man1/pgraf.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/man/man3/pgraf.3 ${PREFIX}/man/man3
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/man/man5/pgraf.5 ${PREFIX}/man/man5
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pgraf
|
|
|
|
@for f in ${WRKSRC}/metagens/*.r ${WRKSRC}/tests/*; do \
|
|
|
|
i="${INSTALL_DATA} $$f ${PREFIX}/share/examples/pgraf/"; \
|
|
|
|
${ECHO} $$i; $$i; \
|
|
|
|
done
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|