aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2011-04-12 23:16:07 +0800
committersunpoet <sunpoet@FreeBSD.org>2011-04-12 23:16:07 +0800
commiteb6b9e3cfb008e7dfada631c5cc53950ec303738 (patch)
treef66a23e72c3a99e02fe4c3cae69caf0a46357dac
parentb6c48f1d4e02e1c5c55646e1fccedd0374a8f216 (diff)
downloadfreebsd-ports-gnome-eb6b9e3cfb008e7dfada631c5cc53950ec303738.tar.gz
freebsd-ports-gnome-eb6b9e3cfb008e7dfada631c5cc53950ec303738.tar.zst
freebsd-ports-gnome-eb6b9e3cfb008e7dfada631c5cc53950ec303738.zip
- Update to 1.3.0
- CPPFLAGS is now added to CONFIGURE_ENV by Mk/bsd.port.Mk - Use PLIST_FILES and PORTDOCS instead of PLIST - Remove obsolete MD5 checksum Changes: http://sourceforge.net/projects/dict/files/libmaa/libmaa-1.3.0/README/view
-rw-r--r--devel/libmaa/Makefile26
-rw-r--r--devel/libmaa/distinfo5
-rw-r--r--devel/libmaa/pkg-plist10
3 files changed, 17 insertions, 24 deletions
diff --git a/devel/libmaa/Makefile b/devel/libmaa/Makefile
index 299f2911491e..0643fd1d7ff4 100644
--- a/devel/libmaa/Makefile
+++ b/devel/libmaa/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libmaa
-PORTVERSION= 1.2.0
+PORTVERSION= 1.3.0
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= SF/dict/${PORTNAME}/${PORTNAME}-${PORTVERSION}
@@ -14,24 +14,28 @@ MASTER_SITES= SF/dict/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Provides a few data structures and helpful functions
-GNU_CONFIGURE= yes
+ALL_TARGET= lib
CONFIGURE_ARGS= --without-local-zlib --with-cflags="${CFLAGS}" \
--with-etcdir=${PREFIX}/etc
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
-USE_GMAKE= yes
+CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
+CPPFLAGS+= -I${LOCALBASE}/include
+GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
+USE_GMAKE= yes
USE_LDCONFIG= yes
-ALL_TARGET= lib
+DOCS= COPYING.LIB README doc/libmaa.600dpi.ps
+PLIST_FILES= include/maa.h \
+ lib/libmaa.la \
+ lib/libmaa.so.3 \
+ lib/libmaa.so \
+ lib/libmaa.a
+PORTDOCS= ${DOCS:T}
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for file in COPYING.LIB README
- ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
-.endfor
- ${INSTALL_DATA} ${WRKSRC}/doc/libmaa.600dpi.ps ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}/
+ @cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}/
.endif
.include <bsd.port.mk>
diff --git a/devel/libmaa/distinfo b/devel/libmaa/distinfo
index c58ec227f9c6..4c9253ca9d06 100644
--- a/devel/libmaa/distinfo
+++ b/devel/libmaa/distinfo
@@ -1,3 +1,2 @@
-MD5 (libmaa-1.2.0.tar.gz) = 7e5eefc9929d75f019d3854d94c35928
-SHA256 (libmaa-1.2.0.tar.gz) = d76f1f48295c7151dae48faaf4402ebfaf5073f0f8c43ef3044271563ab71a8b
-SIZE (libmaa-1.2.0.tar.gz) = 281788
+SHA256 (libmaa-1.3.0.tar.gz) = 188b7092e546b44ab31a1e6d75e31ea62c52cfb66ed0bce4e977c926d96f5c92
+SIZE (libmaa-1.3.0.tar.gz) = 286870
diff --git a/devel/libmaa/pkg-plist b/devel/libmaa/pkg-plist
deleted file mode 100644
index 98aaf32b7504..000000000000
--- a/devel/libmaa/pkg-plist
+++ /dev/null
@@ -1,10 +0,0 @@
-@comment $FreeBSD$
-include/maa.h
-lib/libmaa.la
-lib/libmaa.so.2
-lib/libmaa.so
-lib/libmaa.a
-%%PORTDOCS%%%%DOCSDIR%%/COPYING.LIB
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/libmaa.600dpi.ps
-%%PORTDOCS%%@dirrm %%DOCSDIR%%