aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-12-06 04:25:59 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-12-06 04:25:59 +0800
commit42a07c76c6fc2b524c986ebf54ed3e29ac72d710 (patch)
tree387a14e9f87d377264b90d31f55f095679abc973
parentef665c8c7c938234b06e0b4285ea2c4600ce44d4 (diff)
downloadfreebsd-ports-gnome-42a07c76c6fc2b524c986ebf54ed3e29ac72d710.tar.gz
freebsd-ports-gnome-42a07c76c6fc2b524c986ebf54ed3e29ac72d710.tar.zst
freebsd-ports-gnome-42a07c76c6fc2b524c986ebf54ed3e29ac72d710.zip
- Add LICENSE
- Strip shared library - Support STAGEDIR - Pet Portlint - While I'm here: - Remove leading indefinite article from COMMENT - Simplify Makefile - Sort PLIST PR: ports/184460 Submitted by: Rodrigo Osorio <rodrigo@bebik.net> (maintainer)
-rw-r--r--devel/liboop/Makefile21
-rw-r--r--devel/liboop/pkg-plist12
2 files changed, 17 insertions, 16 deletions
diff --git a/devel/liboop/Makefile b/devel/liboop/Makefile
index ec7b13ad6ed5..56f382c5d4ed 100644
--- a/devel/liboop/Makefile
+++ b/devel/liboop/Makefile
@@ -9,24 +9,25 @@ MASTER_SITES= GENTOO/distfiles \
http://download.ofb.net/liboop/
MAINTAINER= rodrigo@bebik.net
-COMMENT= A low-level event loop management library for POSIX-based OS
+COMMENT= Low-level event loop management library for POSIX-based OS
-LIB_DEPENDS= adns.1:${PORTSDIR}/dns/adns \
- wwwcore.1:${PORTSDIR}/www/libwww
+LICENSE= GPLv2
+
+LIB_DEPENDS= libadns.so:${PORTSDIR}/dns/adns \
+ libwwwcore.so:${PORTSDIR}/www/libwww
-USE_BZIP2= yes
-USE_GNOME= glib12 glib20 gnomehack
-USE_TCL_BUILD= yes
-USE_TCL= yes
-USE_AUTOTOOLS= libtool
CONFIGURE_ARGS= --with-libwww
+MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP}
+MAKE_JOBS_UNSAFE= yes
+USE_AUTOTOOLS= libtool
+USE_BZIP2= yes
+USE_GNOME= glib12 glib20
USE_LDCONFIG= yes
-MAKE_JOBS_UNSAFE=yes
+USES= pathfix tcl
CPPFLAGS+= -I${TCL_INCLUDEDIR} -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|8\.4|${TCL_VER:S/.//}|g' ${WRKSRC}/configure
diff --git a/devel/liboop/pkg-plist b/devel/liboop/pkg-plist
index aa4aabf0df86..77c32f74cac0 100644
--- a/devel/liboop/pkg-plist
+++ b/devel/liboop/pkg-plist
@@ -1,10 +1,14 @@
+include/oop.h
include/oop-adns.h
include/oop-glib.h
include/oop-read.h
include/oop-rl.h
include/oop-tcl.h
include/oop-www.h
-include/oop.h
+lib/liboop.a
+lib/liboop.la
+lib/liboop.so
+lib/liboop.so.4
lib/liboop-adns.a
lib/liboop-adns.la
lib/liboop-adns.so
@@ -25,9 +29,5 @@ lib/liboop-www.a
lib/liboop-www.la
lib/liboop-www.so
lib/liboop-www.so.0
-lib/liboop.a
-lib/liboop.la
-lib/liboop.so
-lib/liboop.so.4
-libdata/pkgconfig/liboop-glib2.pc
libdata/pkgconfig/liboop.pc
+libdata/pkgconfig/liboop-glib2.pc