1999-05-03 04:27:43 +00:00
|
|
|
# New ports collection makefile for: tifmerge
|
|
|
|
# Version required: 1.0
|
|
|
|
# Date created: 29 April 1999
|
|
|
|
# Whom: G. Adam Stanislav <adam@whizkidtech.net>
|
|
|
|
#
|
1999-05-19 13:12:27 +00:00
|
|
|
# $Id: Makefile,v 1.2 1999/05/04 04:20:36 steve Exp $
|
1999-05-03 04:27:43 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= tiff
|
|
|
|
PKGNAME= tifmerge-1.0
|
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= http://www.whizkidtech.net/fports/
|
|
|
|
|
|
|
|
MAINTAINER= adam@whizkidtech.net
|
|
|
|
|
1999-05-19 13:12:27 +00:00
|
|
|
BUILD_DEPENDS= tuc:${PORTSDIR}/converters/tuc
|
1999-05-03 04:27:43 +00:00
|
|
|
|
|
|
|
USE_ZIP= yes
|
|
|
|
DIST_SUBDIR= tifmerge
|
|
|
|
MAN3= tifmerge.3
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@mkdir -p ${WRKSRC}
|
|
|
|
@tuc ${WRKDIR}/TIFMERGE.H ${WRKSRC}/tifmerge.h
|
|
|
|
@tuc ${WRKDIR}/TIFMERGE.C ${WRKSRC}/tifmerge.c
|
|
|
|
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
|
1999-05-04 04:20:42 +00:00
|
|
|
@${SED} -e 's|@PREFIX@|${PREFIX}|g' ${FILESDIR}/tifmerge.3 > \
|
|
|
|
${WRKSRC}/tifmerge.3
|
1999-05-03 04:27:43 +00:00
|
|
|
|
|
|
|
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>
|