diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-11-07 09:31:04 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-11-07 09:31:04 +0000 |
commit | 16e2f3a07e562662c1e9fa72de64dfa28dfc075a (patch) | |
tree | b136ba1ca8c8f16f747f6fa2c9d65dbdc971afd6 /graphics/pngwriter/Makefile | |
parent | 13362e5e25683cef5a6d0d358a94f7eade052f31 (diff) |
Notes
Diffstat (limited to 'graphics/pngwriter/Makefile')
-rw-r--r-- | graphics/pngwriter/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/graphics/pngwriter/Makefile b/graphics/pngwriter/Makefile new file mode 100644 index 000000000000..0580f9eb2c7d --- /dev/null +++ b/graphics/pngwriter/Makefile @@ -0,0 +1,38 @@ +# ex:ts=8 +# Ports collection makefile for: pngwriter +# Date created: Nov 7, 2003 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= pngwriter +PORTVERSION= 0.3.7 +CATEGORIES= graphics devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +EXTRACT_SUFX= .tgz + +MAINTAINER= ports@FreeBSD.org +COMMENT= A C++ library for creating PNG images + +LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png + +USE_REINPLACE= yes +ALL_TARGET= libpngwriter + +post-patch: + @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \ + -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/make.include.linux + +do-install: + ${INSTALL_DATA} ${WRKSRC}/src/pngwriter.h ${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/src/libpngwriter.a ${PREFIX}/lib +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${CP} -R ${WRKSRC}/doc/ ${DOCSDIR} + @${MKDIR} ${EXAMPLESDIR} + ${CP} -R ${WRKSRC}/examples/*.cc ${EXAMPLESDIR} +.endif + +.include <bsd.port.mk> |