freebsd-ports/devel/idutils/Makefile
Juergen Lock d8a54e2505 - Update to 4.6
* lid -L no longer mishandles open-ended ranges like "..2" and "2.."
  * lid's -d, -o and -x options now work properly

- Remove "LICENSE_FILE", leaving "LICENSE" since it's standard GPLv3

- Fix build on FreeBSD-10

PR:		ports/165340
Submitted by:	Peter Jeremy <peterjeremy@acm.org>
2012-02-23 22:22:31 +00:00

45 lines
1,012 B
Makefile

# New ports collection makefile for: id-utils
# Date created: 22 Aug 1996
# Whom: pst@freebsd.org
#
# $FreeBSD$
#
PORTNAME= idutils
PORTVERSION= 4.6
CATEGORIES= devel
MASTER_SITES= GNU
MAINTAINER= peterjeremy@acm.org
COMMENT= The classic Berkeley gid/lid tools for looking up variables in code
CONFLICTS= coreutils-[0-9]* linux-gid-[0-9]* sh-utils-[0-9]*
LICENSE= GPLv3
USE_XZ= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INFO= idutils
MAN1= aid.1 defid.1 eid.1 fid.1 fnid.1 gid.1 lid.1 mkid.1 xtokid.1
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
# Port configure script will auto-install the .elc file if [x]emacs is found
.if exists(${LOCALBASE}/bin/emacs) || exists(${LOCALBASE}/bin/xemacs)
PLIST_SUB+= ELC=""
.else
PLIST_SUB+= ELC="@comment "
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/lisp/idutils.el ${PREFIX}/share/emacs/site-lisp
.include <bsd.port.mk>