freebsd-ports/devel/vstr/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

47 lines
1012 B
Makefile

# Ports collection makefile for: vstr
# Date created: 11 February 2004
# Whom: Robert Schlotterbeck <robert@rs.tarrant.tx.us>
#
# $FreeBSD$
#
PORTNAME= vstr
PORTVERSION= 1.0.15
CATEGORIES= devel
MASTER_SITES= http://freebsd.unixfreunde.de/sources/ \
http://sce-tindy.tecnik93.com/FreeBSD/others_ports/${PORTNAME}/ \
http://www.and.org/vstr/1.0.15/ \
http://www.and.org/vstr/latest/
MAINTAINER= ports@FreeBSD.org
COMMENT= General purpose string library for C
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_CSTD= gnu89
USES= pathfix
USE_LDCONFIG= yes
USE_PKGCONFIG= yes
MAN3= vstr.3 vstr_const.3
.include <bsd.port.options.mk>
post-patch:
.if !${PORT_OPTIONS:MDOCS}
${REINPLACE_CMD} -e 's| Documentation||' ${WRKSRC}/Makefile.in
.endif
post-install:
.if !${PORT_OPTIONS:MDOCS}
cd ${WRKSRC}/Documentation && ${GMAKE} install-man3
.endif
regression-test:
(cd ${WRKSRC} && \
${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
.include <bsd.port.mk>