aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-10-24 03:09:17 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-10-24 03:09:17 +0800
commit96e8218308933b863666d109f09232eb16ed7751 (patch)
tree326f06638945f9e7ddc6d1e79030097f48db2059 /www
parent19b3750859e1c7a4a6c2a39ca77aadf3d9f01bb1 (diff)
downloadfreebsd-ports-gnome-96e8218308933b863666d109f09232eb16ed7751.tar.gz
freebsd-ports-gnome-96e8218308933b863666d109f09232eb16ed7751.tar.zst
freebsd-ports-gnome-96e8218308933b863666d109f09232eb16ed7751.zip
- Convert to new LIB_DEPENDS format
- Convert to new options helper - Use USES=shebangfix - Support STAGEDIR
Diffstat (limited to 'www')
-rw-r--r--www/xapian-omega/Makefile30
-rw-r--r--www/xapian-omega/pkg-plist2
2 files changed, 15 insertions, 17 deletions
diff --git a/www/xapian-omega/Makefile b/www/xapian-omega/Makefile
index 6bf86b86f4ca..03a853d52289 100644
--- a/www/xapian-omega/Makefile
+++ b/www/xapian-omega/Makefile
@@ -12,8 +12,8 @@ COMMENT= CGI search application built on Xapian
LICENSE= GPLv2
-LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre \
- xapian:${PORTSDIR}/databases/xapian-core
+LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \
+ libxapian.so:${PORTSDIR}/databases/xapian-core
OPTIONS_DEFINE= DOCS EXAMPLES ICONV
OPTIONS_DEFAULT=ICONV
@@ -27,25 +27,21 @@ CPPFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
-USES= perl5
+USES= perl5 shebangfix
-MAN1= omindex.1 scriptindex.1
MORE_PORTDOCS= AUTHORS ChangeLog NEWS README TODO
PORTDOCS= cgiparams.html index.html omegascript.html overview.html \
quickstart.html scriptindex.html termprefixes.html \
${MORE_PORTDOCS}
PORTEXAMPLES= omega.conf
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+SHEBANG_FILES= dbi2omega htdig2omega mbox2omega
-.if ${PORT_OPTIONS:MICONV}
-USES+= iconv
-LDFLAGS+= ${ICONV_LIB}
-CONFIGURE_ARGS+=--with-iconv
-.else
-CONFIGURE_ARGS+=--without-iconv
-.endif
+ICONV_CONFIGURE_WITH= iconv
+ICONV_LDFLAGS= ${ICONV_LIB}
+ICONV_USES= iconv
+
+.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} \
@@ -58,12 +54,12 @@ post-patch:
post-install:
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}/
- cd ${WRKSRC}/ && ${INSTALL_DATA} ${MORE_PORTDOCS} ${DOCSDIR}/
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}/
+ cd ${WRKSRC}/ && ${INSTALL_DATA} ${MORE_PORTDOCS} ${STAGEDIR}${DOCSDIR}/
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
- ${MKDIR} ${EXAMPLESDIR}/
- cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}/
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
+ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/
.endif
.include <bsd.port.mk>
diff --git a/www/xapian-omega/pkg-plist b/www/xapian-omega/pkg-plist
index d01d78496707..ac7328939dd1 100644
--- a/www/xapian-omega/pkg-plist
+++ b/www/xapian-omega/pkg-plist
@@ -3,6 +3,8 @@ bin/htdig2omega
bin/mbox2omega
bin/omindex
bin/scriptindex
+man/man1/omindex.1.gz
+man/man1/scriptindex.1.gz
share/omega/htdig2omega.script
share/omega/mbox2omega.script
%%WWWDIR%%/cgi-bin/omega