* Fix overly-broad patch on Makefile to add missing .pc file

* Cleanup Makefile

PR:		221210
Submitted by:	Yuri Victorovich
Reviewed by:	matthew (mentor)
Approved by:	matthew (mentor)
MFH:		2017Q3
Differential Revision:	https://reviews.freebsd.org/D11976
This commit is contained in:
Richard Gallamore 2017-08-11 07:57:35 +00:00
parent 220ea5195f
commit 2fe8737943
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=447737
2 changed files with 4 additions and 3 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= argtable
PORTVERSION= 2.13
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
DISTNAME= ${PORTNAME}${PORTVERSION:S/./-/}
@ -15,15 +15,15 @@ LICENSE= LGPL20+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= libtool
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||g ; \
s|^install-data-am: |install-data-am: #|g' ${WRKSRC}/Makefile.in
s|^install-data-am: install-dist_exampleDATA|install-data-am: |g' ${WRKSRC}/Makefile.in
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/argtable2.3 ${STAGEDIR}${MAN3PREFIX}/man/man3

View file

@ -3,6 +3,7 @@ lib/libargtable2.a
lib/libargtable2.so
lib/libargtable2.so.0
lib/libargtable2.so.0.1.8
libdata/pkgconfig/argtable2.pc
man/man3/argtable2.3.gz
%%PORTDOCS%%%%DOCSDIR%%/arg_int.gif
%%PORTDOCS%%%%DOCSDIR%%/argtable2-advanced.html