mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
- Use USE_DOS2UNIX [1]
- Use NO_WRKSUBDIR [1] - Switch to PLIST_FILES - General Makefile improvements PR: ports/176194 [1] Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
This commit is contained in:
parent
f548a5333b
commit
71e273895f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=312548
@ -1,12 +1,9 @@
|
||||
# New ports collection makefile for: tifmerge
|
||||
# Date created: 29 April 1999
|
||||
# Whom: G. Adam Stanislav <adam@whizkidtech.net>
|
||||
#
|
||||
# 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
|
||||
@ -14,26 +11,31 @@ DISTNAME= tiff
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Library to merge TIFF files into multi-page TIFF files
|
||||
|
||||
EXTRACT_DEPENDS= tuc:${PORTSDIR}/converters/tuc
|
||||
|
||||
USE_DOS2UNIX= *.[ch]
|
||||
USE_LDCONFIG= yes
|
||||
USE_ZIP= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
DIST_SUBDIR= tifmerge
|
||||
|
||||
PLIST_FILES= lib/libtifmerge.a \
|
||||
include/tifmerge.h \
|
||||
lib/libtifmerge.so \
|
||||
lib/libtifmerge.so.1
|
||||
|
||||
MAN3= tifmerge.3
|
||||
|
||||
post-extract:
|
||||
@${MKDIR} ${WRKSRC}
|
||||
@tuc ${WRKDIR}/TIFMERGE.H ${WRKSRC}/tifmerge.h
|
||||
@tuc ${WRKDIR}/TIFMERGE.C ${WRKSRC}/tifmerge.c
|
||||
@${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_DATA} ${WRKSRC}/libtifmerge.so.1 ${PREFIX}/lib
|
||||
${INSTALL_LIB} ${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
|
||||
${INSTALL_MAN} ${WRKSRC}/tifmerge.3 ${MAN3PREFIX}/man/man3
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -2,7 +2,7 @@ LIB= tifmerge
|
||||
|
||||
SHLIB_MAJOR= 1
|
||||
SHLIB_MINOR= 0
|
||||
NOPROFILE= yes
|
||||
NO_PROFILE= yes
|
||||
|
||||
SRCS= tifmerge.c
|
||||
|
||||
|
@ -1,4 +0,0 @@
|
||||
include/tifmerge.h
|
||||
lib/libtifmerge.a
|
||||
lib/libtifmerge.so
|
||||
lib/libtifmerge.so.1
|
Loading…
Reference in New Issue
Block a user