mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
5e40fe60bc
devel/id-utils was recently deprecated because the distfile has vanished. The project is still alive and kicking and it seems the distfile vanished due to age. This PR takes maintainership and updates it to the currently released version (Jun 2010). PR: ports/155684 Submitted by: Peter Jeremy <peterjeremy@acm.org>
47 lines
1.0 KiB
Makefile
47 lines
1.0 KiB
Makefile
# New ports collection makefile for: id-utils
|
|
# Date created: 22 Aug 1996
|
|
# Whom: pst@freebsd.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= idutils
|
|
PORTVERSION= 4.5
|
|
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
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
USE_XZ= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= 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>
|