1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/sysutils/ftwin/Makefile
Tijl Coosemans 0d6e69bd42 Bump PORTREVISION on everything that depends on devel/apr1 due to the
library version change.

Approved by:	portmgr (implicit)
2014-06-12 09:17:32 +00:00

43 lines
959 B
Makefile

# $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
USE_BZIP2= yes
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>