1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/graphics/tifmerge/Makefile
2000-04-14 10:48:02 +00:00

41 lines
1.0 KiB
Makefile

# New ports collection makefile for: tifmerge
# Date created: 29 April 1999
# Whom: G. Adam Stanislav <adam@whizkidtech.net>
#
# $FreeBSD$
#
PORTNAME= tifmerge
PORTVERSION= 1.0
CATEGORIES= graphics
MASTER_SITES= http://www.whizkidtech.net/fports/
DISTNAME= tiff
MAINTAINER= adam@whizkidtech.net
BUILD_DEPENDS= tuc:${PORTSDIR}/converters/tuc
USE_ZIP= yes
DIST_SUBDIR= tifmerge
MAN3= tifmerge.3
post-extract:
@${MKDIR} ${WRKSRC}
@tuc ${WRKDIR}/TIFMERGE.H ${WRKSRC}/tifmerge.h
@tuc ${WRKDIR}/TIFMERGE.C ${WRKSRC}/tifmerge.c
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
@${SED} -e 's|@PREFIX@|${PREFIX}|g' ${FILESDIR}/tifmerge.3 > \
${WRKSRC}/tifmerge.3
do-install:
${INSTALL_DATA} ${WRKSRC}/libtifmerge.so.1 ${PREFIX}/lib
${LN} -fs ${PREFIX}/lib/libtifmerge.so.1 ${PREFIX}/lib/libtifmerge.so
${INSTALL_DATA} ${WRKSRC}/libtifmerge.a ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/tifmerge.h ${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/tifmerge.3 ${PREFIX}/man/man3
post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>