2011-06-28 05:10:32 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2011/06/28 09:10:32 rpointel Exp $
|
2006-12-10 16:40:53 -05:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= configuration file parser library
|
2011-06-24 10:06:57 -04:00
|
|
|
DISTNAME= confuse-2.7
|
2008-01-22 13:51:04 -05:00
|
|
|
PKGNAME= lib${DISTNAME}
|
2011-06-28 05:10:32 -04:00
|
|
|
REVISION= 0
|
2008-01-22 13:51:04 -05:00
|
|
|
SHARED_LIBS= confuse 1.0 # .0.0
|
2006-12-10 16:40:53 -05:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.nongnu.org/confuse/
|
|
|
|
|
2011-06-24 10:06:57 -04:00
|
|
|
# ISC
|
2006-12-10 16:40:53 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2011-06-24 10:06:57 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH:=confuse/}
|
2006-12-10 16:40:53 -05:00
|
|
|
|
2011-06-24 10:06:57 -04:00
|
|
|
MODULES= devel/gettext \
|
|
|
|
converters/libiconv
|
2006-12-15 12:22:07 -05:00
|
|
|
|
2006-12-10 16:40:53 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
2011-06-24 10:06:57 -04:00
|
|
|
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
|
2006-12-10 16:40:53 -05:00
|
|
|
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libconfuse/tutorial/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/html/* ${PREFIX}/share/doc/libconfuse
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/tutorial-html/* \
|
|
|
|
${PREFIX}/share/doc/libconfuse/tutorial
|
2011-06-28 05:10:32 -04:00
|
|
|
|
2006-12-10 16:40:53 -05:00
|
|
|
.include <bsd.port.mk>
|