freebsd-ports/devel/libcfg/Makefile

43 lines
965 B
Makefile
Raw Normal View History

# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$
PORTNAME= libcfg
PORTVERSION= 0.6.2
2014-10-28 21:40:54 +01:00
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= http://platon.sk/upload/_projects/00003/
DISTNAME= ${PORTNAME}+-${DISTVERSION}
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Library for command line and configuration file parsing
2011-03-23 16:53:22 +01:00
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
2011-03-23 16:53:22 +01:00
USES= autoreconf gmake
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
2014-02-24 16:56:27 +01:00
INSTALL_TARGET= install-strip install-man
PORTDOCS= *
2012-06-12 11:17:03 +02:00
OPTIONS_DEFINE= EXAMPLES DOCS
2014-02-24 16:56:27 +01:00
OPTIONS_SUB= yes
2014-02-24 16:56:27 +01:00
CFLAGS_amd64= -fPIC
CFLAGS_ia64= -fPIC
post-install:
2014-02-24 16:56:27 +01:00
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/doc/examples/example.* ${STAGEDIR}${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
2011-03-23 16:53:22 +01:00
.for FILE in AUTHORS README TODO
2014-02-24 16:56:27 +01:00
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
.endfor
2014-02-24 16:56:27 +01:00
for FILE in ${WRKSRC}/doc/html/*; do \
${INSTALL_DATA} $${FILE} ${STAGEDIR}${DOCSDIR}/html; \
done
2012-06-12 11:17:03 +02:00
.include <bsd.port.mk>