aboutsummaryrefslogtreecommitdiffstats
path: root/devel/idutils/Makefile
blob: 1ef9955d8e43ef77b9765eb6d97447b01743b47e (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
PORTNAME=	idutils
PORTVERSION=	4.6
PORTREVISION=	6
CATEGORIES=	devel
MASTER_SITES=	GNU

MAINTAINER=	peterjeremy@acm.org
COMMENT=	The classic Berkeley gid/lid tools for looking up variables in code
WWW=		https://www.gnu.org/software/idutils/

LICENSE=	GPLv3

OPTIONS_DEFINE=	NLS

USES=		charsetfix tar:xz uniquefiles
# Also see patch-src_defid and patch-lisp_idutils.el
UNIQUE_PREFIX=	g
UNIQUE_PREFIX_FILES=	bin/gid \
			share/man/man1/gid.1

GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ENV=	EMACS='no'
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

INFO=		idutils

NLS_USES=	gettext
NLS_CONFIGURE_ENABLE=	nls

OPTIONS_SUB=	yes

post-install:
	${INSTALL_DATA} ${WRKSRC}/lisp/idutils.el ${STAGEDIR}${PREFIX}/share/emacs/site-lisp

.include <bsd.port.mk>