aboutsummaryrefslogtreecommitdiffstats
path: root/www/swish++/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-02-11 16:37:06 +0800
committerkrion <krion@FreeBSD.org>2004-02-11 16:37:06 +0800
commit79b72ce9236df8639915ed7a505149d376b53880 (patch)
treea69020eaf33cd1cf8abbf22610bb0524b31df053 /www/swish++/Makefile
parent6bcea4b1b5afa0a9753e5c8e0fb327986da5cc74 (diff)
downloadfreebsd-ports-gnome-79b72ce9236df8639915ed7a505149d376b53880.tar.gz
freebsd-ports-gnome-79b72ce9236df8639915ed7a505149d376b53880.tar.zst
freebsd-ports-gnome-79b72ce9236df8639915ed7a505149d376b53880.zip
- Fix install and unbreak the port
PR: ports/62643 Submitted by: Ports Fury
Diffstat (limited to 'www/swish++/Makefile')
-rw-r--r--www/swish++/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/www/swish++/Makefile b/www/swish++/Makefile
index 33519872a6ed..e14b1574c727 100644
--- a/www/swish++/Makefile
+++ b/www/swish++/Makefile
@@ -29,19 +29,16 @@ MAN3= WWW.3
MAN4= swish++.conf.4 swish++.index.4
MAN8= searchd.8 searchmonitor.8
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} >= 500800
-BROKEN= "Broken pkg-plist"
-.endif
-
post-patch:
@${REINPLACE_CMD} -e '/^#error/d' ${WRKSRC}/config.h
.for file in searchd searchmonitor
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/${file}.in
.endfor
+pre-install:
+ @${MKDIR} ${SITE_PERL}
+
post-install:
${INSTALL_SCRIPT} ${FILESDIR}/swish++.sh ${PREFIX}/etc/rc.d
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>