1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/devel/gflags/Makefile
Yen-Ming Lee 51edbf51d6 - Don't remove libdata/pkgconfig
- Bump PORTREVISION

Noticed by:	pav@
2011-04-07 21:26:46 +00:00

34 lines
873 B
Makefile

# New ports collection makefile for: gflags
# Date created: 19 December 2006
# Whom: Yen-Ming Lee <leeym@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gflags
PORTVERSION= 1.5
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= leeym@FreeBSD.org
COMMENT= Commandline flags module for C++
PROJECTHOST= google-gflags
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README README_windows.txt \
gflags.html designstyle.css
post-patch:
${REINPLACE_CMD} -e 's|\(pkgconfigdir = \).*|\1$$\(DESTDIR\)$$\(prefix\)/libdata/pkgconfig|' \
${WRKSRC}/Makefile.in
${REINPLACE_CMD} -e 's|^docdir.*|docdir = ${DOCSDIR}|' ${WRKSRC}/Makefile.in
.if defined(NOPORTDOCS)
${REINPLACE_CMD} -e '/^install/s/ install-dist_docDATA//' ${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>