mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
d248bef09f
. add LICENSE=GPLv2; . bump PORTREVISION; . trim Makefile headers.
35 lines
859 B
Makefile
35 lines
859 B
Makefile
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= DirComp
|
|
PORTVERSION= 1.3.11
|
|
PORTREVISION= 2
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME}/${PORTNAME:S/C/c/}-${PORTVERSION}/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Compare two directories
|
|
|
|
LICENSE= GPLv2
|
|
|
|
.ifndef WITHOUT_X11
|
|
LIB_DEPENDS= XGP:${PORTSDIR}/devel/libXGP
|
|
PLIST_FILES+= bin/XDirComp
|
|
.else
|
|
MK_PATCH+= s/@MYSUBDIRS@/Common/g;
|
|
.endif
|
|
LIB_DEPENDS+= YGP:${PORTSDIR}/devel/libYGP
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= gettext
|
|
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} --disable-rpath
|
|
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>
|