summaryrefslogtreecommitdiffstats
path: root/lang/pike70/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/pike70/Makefile')
-rw-r--r--lang/pike70/Makefile20
1 files changed, 14 insertions, 6 deletions
diff --git a/lang/pike70/Makefile b/lang/pike70/Makefile
index bfd0a3b..1a6861c 100644
--- a/lang/pike70/Makefile
+++ b/lang/pike70/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= pike
-PORTVERSION= 0.6
+PORTVERSION= 7.0.78
CATEGORIES= lang
-MASTER_SITES= http://pike.idonex.se/download/
-DISTNAME= Pike-v0.6.110
+MASTER_SITES= ftp://ftp.roxen.com/pub/pike/all/${PORTVERSION}/
+DISTNAME= Pike-v${PORTVERSION}
MAINTAINER= vns@delta.odessa.ua
@@ -17,6 +17,9 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/src/
IS_INTERACTIVE= yes
GNU_CONFIGURE= yes
+.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
+.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
+.else
CONFIGURE_ARGS?= \
--without-ttflib \
--without-gdbm \
@@ -24,6 +27,8 @@ CONFIGURE_ARGS?= \
--without-postgresql \
--without-msql \
--without-jpeg
+.endif
+CONFIGURE_ARGS+= --with-poll
pre-fetch:
.if !defined(BATCH)
@@ -36,7 +41,10 @@ pre-configure:
pre-clean:
@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
-.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
-.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
-.endif
+post-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}pike ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}hilfe ${PREFIX}/bin
+ ${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PREFIX}/include/pike/*.h
+ ${CHMOD} ${SHAREMODE} ${PREFIX}/include/pike/*.h
+
.include <bsd.port.mk>
OpenPOWER on IntegriCloud