freebsd-ports/devel/idutils/Makefile

45 lines
895 B
Makefile
Raw Normal View History

# New ports collection makefile for: id-utils
# Date created: 22 Aug 1996
# Whom: pst@freebsd.org
#
1999-08-25 07:57:29 +02:00
# $FreeBSD$
#
2000-04-11 23:30:15 +02:00
PORTNAME= id-utils
PORTVERSION= 3.2d
PORTREVISION= 4
CATEGORIES= devel
2003-10-31 03:39:30 +01:00
MASTER_SITES= ${MASTER_SITE_GNU_ALPHA}
MASTER_SITE_SUBDIR= ${PORTNAME}
2001-06-28 13:08:14 +02:00
MAINTAINER= ports@FreeBSD.org
2003-02-20 18:07:10 +01:00
COMMENT= The classic Berkeley gid/lid tools for looking up variables in code
CONFLICTS= coreutils-* sh-utils-*
USE_GETOPT_LONG= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
INFO= id-utils
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
post-extract:
@${RM} -f ${WRKSRC}/lib/getopt.h
post-install:
${INSTALL_DATA} ${WRKSRC}/lisp/id-utils.el ${PREFIX}/share/emacs/site-lisp
.include <bsd.port.mk>