1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/graphics/tifmerge/Makefile
Antoine Brodin 6565c124f0 - Stage support
- Get rid of infozip dependency
2014-01-09 22:49:44 +00:00

42 lines
1.1 KiB
Makefile

# Created by: G. Adam Stanislav <adam@whizkidtech.net>
# $FreeBSD$
PORTNAME= tifmerge
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://www.whizkidtech.redprince.net/fports/
DISTNAME= tiff
EXTRACT_SUFX= .zip
MAINTAINER= ports@FreeBSD.org
COMMENT= Library to merge TIFF files into multi-page TIFF files
USES= dos2unix
DOS2UNIX_GLOB= *.[ch]
USE_LDCONFIG= yes
NO_WRKSUBDIR= yes
DIST_SUBDIR= tifmerge
PLIST_FILES= lib/libtifmerge.a \
include/tifmerge.h \
lib/libtifmerge.so \
lib/libtifmerge.so.1 \
man/man3/tifmerge.3.gz
post-extract:
@${MV} ${WRKSRC}/TIFMERGE.H ${WRKSRC}/tifmerge.h
@${MV} ${WRKSRC}/TIFMERGE.C ${WRKSRC}/tifmerge.c
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
@${SED} -e 's|@PREFIX@|${PREFIX}|g' ${FILESDIR}/tifmerge.3 > \
${WRKSRC}/tifmerge.3
do-install:
${INSTALL_LIB} ${WRKSRC}/libtifmerge.so.1 ${STAGEDIR}${PREFIX}/lib
${LN} -fs libtifmerge.so.1 ${STAGEDIR}${PREFIX}/lib/libtifmerge.so
${INSTALL_DATA} ${WRKSRC}/libtifmerge.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/tifmerge.h ${STAGEDIR}${PREFIX}/include
${INSTALL_MAN} ${WRKSRC}/tifmerge.3 ${STAGEDIR}${MAN3PREFIX}/man/man3
.include <bsd.port.mk>