aboutsummaryrefslogtreecommitdiff
path: root/devel/libmaa/Makefile
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-04-12 15:16:07 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-04-12 15:16:07 +0000
commit24d327b54c104ed3e090bf3eb9e726c6788e86fc (patch)
tree25b304848dcbed8be09818d5e8f94dbdc9c8669c /devel/libmaa/Makefile
parentecb8350b912c441abc6019226b917d2a624be3bd (diff)
downloadports-24d327b54c104ed3e090bf3eb9e726c6788e86fc.tar.gz
ports-24d327b54c104ed3e090bf3eb9e726c6788e86fc.zip
Notes
Diffstat (limited to 'devel/libmaa/Makefile')
-rw-r--r--devel/libmaa/Makefile26
1 files changed, 15 insertions, 11 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>