pkgsrc/graphics/pgraf/Makefile
rillig 2829e658f2 Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
2007-01-07 09:13:46 +00:00

29 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.15 2007/01/07 09:13:56 rillig Exp $
DISTNAME= pgraf-20010131
PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Portable graphics system
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
INSTALLATION_DIRS= bin include lib ${PKGMANDIR}/man1 ${PKGMANDIR}/man3 ${PKGMANDIR}/man5
CONFLICTS= pgp5-[0-9]* # Both have a `pgps' executable
.include "../../mk/x11.buildlink3.mk"
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}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/man/man3/pgraf.3 ${PREFIX}/${PKGMANDIR}/man3
${INSTALL_DATA} ${WRKSRC}/man/man5/pgraf.5 ${PREFIX}/${PKGMANDIR}/man5
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pgraf
${INSTALL_DATA} ${WRKSRC}/metagens/*.r ${WRKSRC}/tests/* \
${PREFIX}/share/examples/pgraf/
.include "../../mk/bsd.pkg.mk"