aboutsummaryrefslogtreecommitdiff
path: root/lang/gpc/Makefile
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-07-29 17:17:05 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-07-29 17:17:05 +0000
commitf58198529a6125d4cb407e4e02b004e284c0a7d7 (patch)
tree5ea54e381b4f2c18e9883ebe6769c6cd0b8f9f59 /lang/gpc/Makefile
parentfd89666aadba29c1a061acae72c609a5589f573e (diff)
downloadports-f58198529a6125d4cb407e4e02b004e284c0a7d7.tar.gz
ports-f58198529a6125d4cb407e4e02b004e284c0a7d7.zip
Notes
Diffstat (limited to 'lang/gpc/Makefile')
-rw-r--r--lang/gpc/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/lang/gpc/Makefile b/lang/gpc/Makefile
index 7978eadb2c2b..0a897b07cbac 100644
--- a/lang/gpc/Makefile
+++ b/lang/gpc/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gpc
-PORTVERSION= 20050331
-PORTREVISION= 1
+PORTVERSION= 20060325
CATEGORIES= lang
MASTER_SITES= http://www.gnu-pascal.de/alpha/:gpc \
${MASTER_SITE_GCC}
@@ -19,6 +18,7 @@ MAINTAINER= alepulver@FreeBSD.org
COMMENT= GNU Pascal compiler
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \
+ gsed:${PORTSDIR}/textproc/gsed \
help2man:${PORTSDIR}/misc/help2man
USE_BISON= yes
@@ -51,19 +51,17 @@ CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
.endif
post-extract:
- @${MV} ${WRKDIR}/p ${WRKSRC}/gcc
+ @${MV} ${WRKDIR}/${DISTNAME}/p ${WRKSRC}/gcc
post-patch:
@${REINPLACE_CMD} -e 's|read junk||' ${WRKSRC}/gcc/p/config-lang.in
- @${REINPLACE_CMD} -Ee 's|^(sed=)"`.*`"|\1sed|' \
- ${WRKSRC}/gcc/p/script/extract-doc-demos
-.if defined(NOPORTDOCS)
- @${REINPLACE_CMD} -Ee 's|^(PASCAL_INSTALL_DOC=).*|\1|' \
- ${WRKSRC}/gcc/p/Make-lang.in
-.else
+ @${REINPLACE_CMD} -e 's|sed -|gsed -|' ${WRKSRC}/gcc/p/utils/mk-t-inc
@${REINPLACE_CMD} -Ee \
's|^(P_DOC_DIR=).*|\1${DOCSDIR:S/${PREFIX}\///}|' \
${WRKSRC}/gcc/p/Make-lang.in
+.if defined(NOPORTDOCS)
+ @${REINPLACE_CMD} -Ee 's|^(PASCAL_INSTALL_DOC=).*|\1|' \
+ ${WRKSRC}/gcc/p/Make-lang.in
.endif
post-install: