diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-11-07 17:31:04 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-11-07 17:31:04 +0800 |
commit | 20e8c23ad667fcb458b030b19eecb8f041d4a7ef (patch) | |
tree | 1b69d3a475c049812ddf4902e52e0be464d98c87 /graphics/pngwriter/Makefile | |
parent | 07f136a3eed9c55367e968bb5b28be7b6373ffac (diff) | |
download | freebsd-ports-graphics-20e8c23ad667fcb458b030b19eecb8f041d4a7ef.tar.gz freebsd-ports-graphics-20e8c23ad667fcb458b030b19eecb8f041d4a7ef.tar.zst freebsd-ports-graphics-20e8c23ad667fcb458b030b19eecb8f041d4a7ef.zip |
add pngwriter 0.3.7
A C++ library for creating PNG images
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 00000000000..0580f9eb2c7 --- /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> |