blob: e0017155b63a482520a84e8a4612fdaa3852c7cf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# 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
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>
|