blob: 5d01f80165b10e2d57bbc1c0cb05effd20b5643a (
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
40
41
42
|
# $FreeBSD$
PORTNAME= ftwin
PORTVERSION= 0.8.8
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://files.etoilebsd.net/ftwin/ \
http://download.meroware.org/ftwin/
MAINTAINER= ports@FreeBSD.org
COMMENT= Useful tool to find duplicate files
LICENSE= APACHE20
LIB_DEPENDS= libapr-1.so:${PORTSDIR}/devel/apr1 \
libpcre.so:${PORTSDIR}/devel/pcre \
libpuzzle.so:${PORTSDIR}/graphics/libpuzzle
OPTIONS_DEFINE= DOCS
USES= tar:bzip2
USE_AUTOTOOLS= aclocal autoheader automake autoconf
AUTOMAKE_ARGS= --add-missing
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= AUTHORS EXAMPLES TODO CHANGES KNOWN_BUGS VERSION README
PLIST_FILES= bin/ftwin man/man8/ftwin.8.gz
post-patch:
@${REINPLACE_CMD} -e \
's|-Werror -g -ggdb|| ; \
s|-O0||' ${WRKSRC}/Makefile.am
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
.endfor
.include <bsd.port.mk>
|