1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/devel/gflags/Makefile
Eitan Adler 334eb0fc61 This changes almost all the "gnomehack" only USE_GNOME cases to USES= pathfix.
If a port used other USE_GNOME items it was untouched.
The ports that used other USES were fixed by hand.

PR:		ports/177081
Reviewed by:	bapt
Approved by:	portmgr (miwi)
2013-03-19 13:04:30 +00:00

36 lines
796 B
Makefile

# Created by: Yen-Ming Lee <leeym@FreeBSD.org>
# $FreeBSD$
PORTNAME= gflags
PORTVERSION= 2.0
CATEGORIES= devel
MASTER_SITES= GOOGLE_CODE
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Commandline flags module for C++
LICENSE= BSD
OPTIONS_DEFINE= DOCS
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
USES= pathfix
USE_LDCONFIG= yes
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README README_windows.txt \
designstyle.css gflags.html
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} \
-e 's|^\(docdir = \).*|\1${DOCSDIR}|' \
-e 's|^\(pkgconfigdir = \).*|\1$$(DESTDIR)$$(prefix)/libdata/pkgconfig|' \
${WRKSRC}/Makefile.in
.if empty(PORT_OPTIONS:MDOCS)
@${REINPLACE_CMD} -e '/^install-data-am: / s| install-dist_docDATA||' ${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>