1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/sysutils/dirdiff/Makefile
Ryan Steinmetz f81f721be8 - Add LICENSE
- Use USE_TK/USE_TCL_BUILD
- Use PLIST_FILES instead of pkg-plist

PR:		ports/161621
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2011-10-23 01:24:54 +00:00

40 lines
809 B
Makefile

# New ports collection makefile for: dirdiff
# Whom: grog
# Date created: 7 May 2001
#
# $FreeBSD$
#
PORTNAME= dirdiff
PORTVERSION= 2.1
PORTREVISION= 3
CATEGORIES= sysutils tcl tk
MASTER_SITES= ftp://ftp.samba.org/pub/paulus/
MAINTAINER= ports@FreeBSD.org
COMMENT= A graphical diff tool
LICENSE= GPLv2 # (or later)
LICENSE_FILE= ${WRKSRC}/COPYING
USE_TCL_BUILD= yes
USE_LDCONFIG= yes
USE_TK= yes
PLIST_FILES= bin/dirdiff lib/libfilecmp.so.0
CFLAGS+= -fPIC -I${TCL_INCLUDEDIR}
post-patch:
@${REINPLACE_CMD} -e \
's|.0.0|.0|g ; \
s|^CFLAGS=|CFLAGS?=|g' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e \
's|^exec wish |exec ${WISH:T} |' ${WRKSRC}/dirdiff
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/dirdiff ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/libfilecmp.so.0 ${PREFIX}/lib
.include <bsd.port.mk>