ports/64854: Update port: devel/id-utils
KATO Tsuguru
tkato at prontomail.com
Sun Mar 28 16:10:20 UTC 2004
>Number: 64854
>Category: ports
>Synopsis: Update port: devel/id-utils
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Mar 28 08:10:19 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.9-RELEASE-p4 i386
>Organization:
>Environment:
>Description:
- Support WITHOUT_NLS
- Support INFO
- Remove unnecessary BUILD_DEPENDS
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/devel/id-utils/Makefile devel/id-utils/Makefile
--- /usr/ports/devel/id-utils/Makefile Wed Feb 4 18:56:55 2004
+++ devel/id-utils/Makefile Sun Mar 28 01:29:14 2004
@@ -7,7 +7,7 @@
PORTNAME= id-utils
PORTVERSION= 3.2d
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU_ALPHA}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,12 +15,26 @@
MAINTAINER= ports at FreeBSD.org
COMMENT= The classic Berkeley gid/lid tools for looking up variables in code
-# need to byte-compile a .el file
-BUILD_DEPENDS= emacs:${PORTSDIR}/editors/emacs20
-
CONFLICTS= coreutils-* sh-utils-*
-GNU_CONFIGURE= yes
+USE_REINPLACE= yes
USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+INFO= id-utils
+
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.endif
+
+post-patch:
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|@EMACS@|no|g'
.include <bsd.port.mk>
diff -urN /usr/ports/devel/id-utils/pkg-plist devel/id-utils/pkg-plist
--- /usr/ports/devel/id-utils/pkg-plist Thu Sep 19 21:06:25 2002
+++ devel/id-utils/pkg-plist Sun Mar 28 00:34:31 2004
@@ -7,11 +7,7 @@
bin/lid
bin/mkid
bin/xtokid
- at unexec install-info --delete %D/info/id-utils.info %D/info/dir
-info/id-utils.info
- at exec install-info %D/info/id-utils.info %D/info/dir
share/emacs/site-lisp/id-utils.el
-share/emacs/site-lisp/id-utils.elc
share/id-lang.map
-share/locale/de/LC_MESSAGES/id-utils.mo
-share/locale/fr/LC_MESSAGES/id-utils.mo
+%%NLS%%share/locale/de/LC_MESSAGES/id-utils.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/id-utils.mo
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list