freebsd-ports/graphics/ampasCTL/Makefile
Martin Wilke 676f57b17a - Don't remove directories not created by this port
- Fix DOCS deinstall

Reported by:	pkg (DEVELOPER_MODE)
2013-06-19 14:50:02 +00:00

39 lines
803 B
Makefile

# Created by: nork@FreeBSD.org
# $FreeBSD$
PORTNAME= ampasCTL
PORTVERSION= 1.4.1
CATEGORIES= graphics devel
MASTER_SITES= SF/${PORTNAME:L}/ctl/ctl-${PORTVERSION}/
DISTNAME= ctl-${DISTVERSION}
MAINTAINER= nemysis@gmx.ch
COMMENT= Color Transformation Language interpreter
LICENSE= BSD
LIB_DEPENDS= Imath:${PORTSDIR}/graphics/ilmbase
USES= pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
PORTDOCS= AUTHORS ChangeLog NEWS README
.include <bsd.port.options.mk>
test check: build
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
.if defined(PACKAGE_BUILDING)
pre-install: test
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>