blob: 92786ee3d6d0947399082486f022867b06659265 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# 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>
|