2013-09-20 19:03:26 +02:00
|
|
|
# Created by: ijliao
|
2003-12-17 03:53:52 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= argtable
|
2011-01-14 10:16:09 +01:00
|
|
|
PORTVERSION= 2.13
|
2014-07-03 00:12:53 +02:00
|
|
|
PORTREVISION= 1
|
2003-12-17 03:53:52 +01:00
|
|
|
CATEGORIES= devel
|
2009-08-22 02:18:43 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2006-02-22 20:50:51 +01:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/./-/}
|
2003-12-17 03:53:52 +01:00
|
|
|
|
2011-04-27 03:56:47 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-12-10 21:59:41 +01:00
|
|
|
COMMENT= ANSI C library for parsing GNU style command line arguments
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
2003-12-17 03:53:52 +01:00
|
|
|
|
2014-07-03 00:12:53 +02:00
|
|
|
USES= libtool
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
INSTALL_TARGET= install-strip
|
2006-08-15 00:55:18 +02:00
|
|
|
USE_LDCONFIG= yes
|
2005-12-26 02:33:20 +01:00
|
|
|
|
2005-12-26 17:41:24 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||g ; \
|
2006-02-22 20:50:51 +01:00
|
|
|
s|^install-data-am: |install-data-am: #|g' ${WRKSRC}/Makefile.in
|
2005-12-26 02:33:20 +01:00
|
|
|
|
|
|
|
post-install:
|
2013-12-10 21:59:41 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/argtable2.3 ${STAGEDIR}${MAN3PREFIX}/man/man3
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.gif ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${STAGEDIR}${DOCSDIR}
|
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/example/*.c ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/example/*.h ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/example/*.txt ${STAGEDIR}${EXAMPLESDIR}
|
2003-12-17 03:53:52 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|