summaryrefslogtreecommitdiffstats
path: root/sysutils/ipsc/Makefile
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-10-13 00:53:36 +0000
committerleeym <leeym@FreeBSD.org>2004-10-13 00:53:36 +0000
commit26908d2466281442ce21320f2005466e4bf01b99 (patch)
tree03d8e4ebc0a932a74af6061c948c55f905386900 /sysutils/ipsc/Makefile
parent0b32123630bd85f1faeb8b5fa3e58797c0bc5156 (diff)
downloadFreeBSD-ports-26908d2466281442ce21320f2005466e4bf01b99.zip
FreeBSD-ports-26908d2466281442ce21320f2005466e4bf01b99.tar.gz
- add patch file
- correct the path of prips - unbreak this port on 5.x - use PLIST_FILES instead of pkg-plist PR: 71900 Submitted by: leeym Approved by: maintainer timeout
Diffstat (limited to 'sysutils/ipsc/Makefile')
-rw-r--r--sysutils/ipsc/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/sysutils/ipsc/Makefile b/sysutils/ipsc/Makefile
index 93ed1af..0e2aece 100644
--- a/sysutils/ipsc/Makefile
+++ b/sysutils/ipsc/Makefile
@@ -15,28 +15,24 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= jeremy@external.org
COMMENT= An IP Subnet Calculator
-BUILD_DEPENDS= ${PORTSDIR}/sysutils/prips/work/prips/prips.o:${PORTSDIR}/sysutils/prips:build
+BUILD_DEPENDS= ${WRKDIRPREFIX}${PORTSDIR}/sysutils/prips/work/prips/prips.o:${PORTSDIR}/sysutils/prips:build
WRKSRC= ${WRKDIR}/ipsc/src
WANT_GNOME= yes
-
-.include <bsd.port.pre.mk>
+PLIST_FILES= bin/ipsc
.if defined(HAVE_GNOME)
USE_X_PREFIX= yes
USE_GNOME= yes
ALL_TARGET= all
+PLIST_FILES+= bin/gipsc
.else
ALL_TARGET= ipsc
.endif
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile on FreeBSD ${OSVERSION}"
-.endif
-
post-extract:
- @${LN} -s ${WRKDIRPREFIX}${.CURDIR}/../prips/work/prips \
+ @${LN} -s ${WRKDIRPREFIX}${PORTSDIR}/sysutils/prips/work/prips \
${WRKDIR}/prips
do-install:
@@ -45,4 +41,4 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gipsc ${PREFIX}/bin
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud