freebsd-ports/sysutils/dircomp/Makefile
Andrew Pantyukhin a0695e59f6 Add port sysutils/dircomp:
The utility DirComp compares two directories (and - if specified - their
subdirectories), where the comparison can be done both by existence and
by date (of change) or contents. This comparison can be limited to
certain files and and/directories matching specified name- or time-of-
change restrictions.

http://dircomp.sourceforge.net/
2006-08-20 13:03:20 +00:00

37 lines
956 B
Makefile

# New ports collection makefile for: DirComp
# Date created: 20 August 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= DirComp
PORTVERSION= 1.3.01
CATEGORIES= sysutils
MASTER_SITES= SF
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Compare two directories
.ifndef WITHOUT_X11
LIB_DEPENDS= XGP-0.8.10.0:${PORTSDIR}/devel/libXGP
PLIST_FILES+= bin/XDirComp
.else
LIB_DEPENDS= YGP-0.8.10.0:${PORTSDIR}/devel/libYGP
MK_PATCH+= s/@MYSUBDIRS@/Common/g;
.endif
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GETTEXT= yes
CONFIGURE_ENV+= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE}
PLIST_FILES+= bin/DirComp \
share/locale/de/LC_MESSAGES/DirComp.mo \
share/locale/en/LC_MESSAGES/DirComp.mo \
share/locale/es/LC_MESSAGES/DirComp.mo
post-patch:
@${REINPLACE_CMD} -Ee 's/^(SUBDIRS.*)doc/\1/;${MK_PATCH}' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>