freebsd-ports/textproc/google-ctemplate/Makefile
Ying-Chieh Liao 220e8ece45 add google-ctemplate 0.1
A simple but powerful template language for C++

pass maintainership to clsung
2006-04-27 01:52:15 +00:00

40 lines
870 B
Makefile

# ex:ts=8
# Ports collection makefile for: google-ctemplate
# Date created: Apr 26, 2006
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= google-ctemplate
PORTVERSION= 0.1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= goog-ctemplate
DISTNAME= ctemplate-${PORTVERSION}
MAINTAINER= clsung@FreeBSD.org
COMMENT= A simple but powerful template language for C++
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
post-patch:
.if !defined(NOPORTDOCS)
@${REINPLACE_CMD} -e \
's|$$(prefix)/share/doc/$$(PACKAGE)-$$(VERSION)|${DOCSDIR}|' \
${WRKSRC}/Makefile.in
.else
@${REINPLACE_CMD} -e \
'/install-data-am/ s|install-dist_docDATA||' \
${WRKSRC}/Makefile.in
.endif
tests: build
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
.include <bsd.port.mk>