f79573370a
foo-* to foo-[0-9]*. This is to cause the dependencies to match only the packages whose base package name is "foo", and not those named "foo-bar". A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net. Also change dependency examples in Packages.txt to reflect this.
26 lines
888 B
Makefile
26 lines
888 B
Makefile
# $NetBSD: Makefile,v 1.6 2001/09/27 23:18:12 jlam Exp $
|
|
|
|
DISTNAME= pgraf-20010131
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
COMMENT= Portable graphics system
|
|
|
|
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
|
|
USE_X11= YES
|
|
|
|
CONFLICTS= pgp5-[0-9]* # Both have a `pgps' executable
|
|
|
|
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
|
|
${INSTALL_DATA} ${WRKSRC}/metagens/*.r ${WRKSRC}/tests/* \
|
|
${PREFIX}/share/examples/pgraf/
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|