2006-08-20 15:03:20 +02:00
|
|
|
# New ports collection makefile for: DirComp
|
|
|
|
# Date created: 20 August 2006
|
|
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= DirComp
|
2007-04-04 23:54:54 +02:00
|
|
|
PORTVERSION= 1.3.03
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 2
|
2006-08-20 15:03:20 +02:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= SF
|
|
|
|
|
2009-01-29 00:25:21 +01:00
|
|
|
MAINTAINER= beat@FreeBSD.org
|
2006-08-20 15:03:20 +02:00
|
|
|
COMMENT= Compare two directories
|
|
|
|
|
|
|
|
.ifndef WITHOUT_X11
|
2007-04-04 23:54:54 +02:00
|
|
|
LIB_DEPENDS= XGP.0:${PORTSDIR}/devel/libXGP
|
2006-08-20 15:03:20 +02:00
|
|
|
PLIST_FILES+= bin/XDirComp
|
|
|
|
.else
|
|
|
|
MK_PATCH+= s/@MYSUBDIRS@/Common/g;
|
|
|
|
.endif
|
2007-04-23 02:27:54 +02:00
|
|
|
LIB_DEPENDS+= YGP.0:${PORTSDIR}/devel/libYGP
|
2006-08-20 15:03:20 +02:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
CONFIGURE_ENV+= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
|
2007-04-04 23:54:54 +02:00
|
|
|
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} --disable-rpath
|
2006-08-20 15:03:20 +02:00
|
|
|
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>
|