summaryrefslogtreecommitdiff
path: root/lang/gpc
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-04-08 20:35:49 +0000
committerjlam <jlam@pkgsrc.org>2006-04-08 20:35:49 +0000
commit6752f1f3b30d719b6c241aab9e7da9afa25be89c (patch)
tree26705d6dbfc68984632e4606686308bb740807f2 /lang/gpc
parent9e99a3d3d834fae1cb6d9567ea9aa9be5aef7948 (diff)
downloadpkgsrc-6752f1f3b30d719b6c241aab9e7da9afa25be89c.tar.gz
List the info files directly in the PLIST, and honor PKG{INFO,MAN}DIR.
Bump the PKGREVISION due to the new location of the man pages.
Diffstat (limited to 'lang/gpc')
-rw-r--r--lang/gpc/Makefile9
-rw-r--r--lang/gpc/PLIST8
2 files changed, 11 insertions, 6 deletions
diff --git a/lang/gpc/Makefile b/lang/gpc/Makefile
index 704e495cf9d..6583ab9185e 100644
--- a/lang/gpc/Makefile
+++ b/lang/gpc/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.27 2006/03/04 21:29:54 jlam Exp $
+# $NetBSD: Makefile,v 1.28 2006/04/08 20:35:49 jlam Exp $
DISTNAME= gpc-2.1
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITES+= http://www.gnu-pascal.de/current/ \
@@ -43,7 +43,8 @@ HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ${WRKSRC}/configure
CONFIGURE_ARGS+= --host=${MACHINE_GNU_PLATFORM:Q}
CONFIGURE_ARGS+= --prefix=${GPC_PREFIX:Q}
-CONFIGURE_ARGS+= --infodir=${PREFIX}/info
+CONFIGURE_ARGS+= --infodir=${PREFIX:Q}/${PKGINFODIR:Q}
+CONFIGURE_ARGS+= --mandir=${PREFIX:Q}/${PKGMANDIR:Q}
CONFIGURE_ARGS+= --enable-shared
CONFIGURE_ARGS+= --enable-languages=pascal
@@ -55,7 +56,7 @@ INSTALL_DIRS= ${BUILD_DIRS}/gcc
INSTALL_TARGET= pascal.install
-INFO_FILES= gpc.info gpcs.info gpcs-de.info gpcs-hr.info
+INFO_FILES= # PLIST
post-extract:
${MKDIR} ${WRKSRC}
diff --git a/lang/gpc/PLIST b/lang/gpc/PLIST
index eda99824c41..ace40d2184e 100644
--- a/lang/gpc/PLIST
+++ b/lang/gpc/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2004/03/02 11:28:22 seb Exp $
+@comment $NetBSD: PLIST,v 1.5 2006/04/08 20:35:49 jlam Exp $
${GPC_SUBPREFIX}bin/gpc
${GPC_SUBPREFIX}bin/gpc-run
${GPC_SUBPREFIX}lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/collect2
@@ -41,7 +41,11 @@ ${GPC_SUBPREFIX}lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/trapc.c
${GPC_SUBPREFIX}lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/turbo3.pas
${GPC_SUBPREFIX}lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/wincrt.pas
${GPC_SUBPREFIX}lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/windos.pas
-${GPC_SUBPREFIX}man/man1/gpc.1
+info/gpc.info
+info/gpcs-de.info
+info/gpcs-hr.info
+info/gpcs.info
+man/man1/gpc.1
share/doc/gpc/AUTHORS
share/doc/gpc/BUGS
share/doc/gpc/COPYING