aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ftwin/Makefile
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-01-06 02:38:03 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-01-06 02:38:03 +0000
commitb59c08468a862b230070f2fd9a51b87abd9d63d0 (patch)
treef3c8df00766b58d5c11167e9f7ab4643deeb20f5 /sysutils/ftwin/Makefile
parent467a572cc5e63abbbcadc717396dbda32ac75cb1 (diff)
downloadports-b59c08468a862b230070f2fd9a51b87abd9d63d0.tar.gz
ports-b59c08468a862b230070f2fd9a51b87abd9d63d0.zip
Notes
Diffstat (limited to 'sysutils/ftwin/Makefile')
-rw-r--r--sysutils/ftwin/Makefile32
1 files changed, 20 insertions, 12 deletions
diff --git a/sysutils/ftwin/Makefile b/sysutils/ftwin/Makefile
index 7e73c217979e..a1d985c7266c 100644
--- a/sysutils/ftwin/Makefile
+++ b/sysutils/ftwin/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= ftwin
-PORTVERSION= 0.8.5
-PORTREVISION= 11
+PORTVERSION= 0.8.8
CATEGORIES= sysutils
MASTER_SITES= http://files.etoilebsd.net/ftwin/ \
http://download.meroware.org/ftwin/
@@ -10,24 +9,33 @@ MASTER_SITES= http://files.etoilebsd.net/ftwin/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Useful tool to find duplicate files
-LIB_DEPENDS= libpuzzle.so:${PORTSDIR}/graphics/libpuzzle \
- libapr-1.so:${PORTSDIR}/devel/apr1 \
- libpcre.so:${PORTSDIR}/devel/pcre
+LICENSE= APACHE20
+
+LIB_DEPENDS= libapr-1.so:${PORTSDIR}/devel/apr1 \
+ libpcre.so:${PORTSDIR}/devel/pcre \
+ libpuzzle.so:${PORTSDIR}/graphics/libpuzzle
OPTIONS_DEFINE= DOCS
USE_BZIP2= yes
-GNU_CONFIGURE= yes
-USE_AUTOTOOLS= autoconf aclocal automake autoheader
+USE_AUTOTOOLS= aclocal autoheader automake autoconf
AUTOMAKE_ARGS= --add-missing
-CONFIGURE_ARGS+= --with-puzzle=${LOCALBASE}
-PLIST_FILES= bin/ftwin \
- man/man8/ftwin.8.gz
-PORTDOCS= AUTHORS EXAMPLES TODO CHANGES KNOWN_BUGS VERSION LICENSE README
+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}
- @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+.for i in ${PORTDOCS}
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
+.endfor
.include <bsd.port.mk>