aboutsummaryrefslogtreecommitdiff
path: root/lang/gnustep-objc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gnustep-objc/Makefile')
-rw-r--r--lang/gnustep-objc/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/gnustep-objc/Makefile b/lang/gnustep-objc/Makefile
index 1ed7822d87f5..a1b99dfcc0ab 100644
--- a/lang/gnustep-objc/Makefile
+++ b/lang/gnustep-objc/Makefile
@@ -47,4 +47,16 @@ GNU_ARCH= ${MACHINE_ARCH}
.endif
PLIST_SUB+= GNU_ARCH=${GNU_ARCH} VERSION=${PORTVERSION}
+ETCDIR= ${PREFIX}/../etc
+
+post-patch:
+.for f in bundle gswapp gswbundle woapp wobundle
+ ${PERL} -pi -e 's/\$$\(TAR\) ch --exclude=CVS --to-stdout/\$$\(TAR\) -ch --exclude=CVS -f -/g' ${WRKSRC}/make/${f}.make
+.endfor
+
+post-install:
+ @${MKDIR} ${ETCDIR}
+ ${INSTALL_SCRIPT} ${FILESDIR}/GNUstep.sh ${ETCDIR}/rc.d
+ ${INSTALL_DATA} ${FILESDIR}/gdomap_if ${ETCDIR}
+
.include <bsd.port.post.mk>