aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-10-16 04:16:41 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-10-16 04:16:41 +0800
commit1733f57145331267c1d8558ecd468bf6a7a355f3 (patch)
tree5cb194ae493369c2ffe6c1e8664a32801b58ad6f /misc
parent63c5710adf033d2eeab6bf07a9901af319258e1e (diff)
downloadfreebsd-ports-gnome-1733f57145331267c1d8558ecd468bf6a7a355f3.tar.gz
freebsd-ports-gnome-1733f57145331267c1d8558ecd468bf6a7a355f3.tar.zst
freebsd-ports-gnome-1733f57145331267c1d8558ecd468bf6a7a355f3.zip
- Use USES=localbase
- Convert to new options target helper
Diffstat (limited to 'misc')
-rw-r--r--misc/libmetalink/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/misc/libmetalink/Makefile b/misc/libmetalink/Makefile
index e192e9b84da2..0b96e162cdc4 100644
--- a/misc/libmetalink/Makefile
+++ b/misc/libmetalink/Makefile
@@ -20,25 +20,22 @@ OPTIONS_DEFAULT=EXPAT
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
-LDFLAGS+= -L${LOCALBASE}/lib
TEST_TARGET= check
USE_LDCONFIG= yes
-USES= libtool pathfix tar:bzip2
+USES= libtool localbase pathfix tar:bzip2
PORTEXAMPLES= LibO_3.5.4_Win_x86_install_multi.msi.meta4 \
metalinkcat.c \
ubuntu-12.04-server-amd64.metalink
EXPAT_CONFIGURE_WITH= libexpat
-EXPAT_CPPFLAGS= -I${LOCALBASE}/include
EXPAT_LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
LIBXML2_CONFIGURE_WITH= libxml2
LIBXML2_CPPFLAGS= -I${LOCALBASE}/include/libxml2
LIBXML2_USE= GNOME=libxml2
TEST_BUILD_DEPENDS= cunit>=2.1:${PORTSDIR}/devel/cunit
-TEST_CONFIGURE_ENV= CUNIT_CFLAGS=-I${LOCALBASE}/include CUNIT_LIBS="-L${LOCALBASE}/lib -lcunit -L${LIBDIR} -lncurses"
-post-install:
+post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
cd ${WRKSRC}/doc/examples/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/