2005-02-21 15:49:25 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.29 2005/02/21 20:49:25 alek Exp $
|
2001-05-05 20:12:42 -04:00
|
|
|
|
|
|
|
COMMENT= "gid/lid tools for looking up variables in code"
|
1997-12-01 16:37:56 -05:00
|
|
|
|
1999-05-10 23:04:35 -04:00
|
|
|
DISTNAME= id-utils-3.2d
|
2005-02-21 15:49:25 -05:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
1997-12-01 16:37:56 -05:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
2001-06-19 21:43:11 -04:00
|
|
|
# License: GPL
|
2000-03-05 13:30:21 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-23 06:22:00 -05:00
|
|
|
WANTLIB= c
|
2000-02-12 03:02:07 -05:00
|
|
|
|
1999-05-10 23:04:35 -04:00
|
|
|
MASTER_SITES= ftp://alpha.gnu.org/gnu/ \
|
|
|
|
ftp://ftp.enst.fr/pub/gnu/gnits/
|
1998-10-08 14:21:00 -04:00
|
|
|
|
2004-08-10 08:42:21 -04:00
|
|
|
MODULES= devel/gettext
|
2004-07-19 18:30:10 -04:00
|
|
|
|
2000-04-09 10:25:33 -04:00
|
|
|
# don't compile emacs mode files now, install what's needed
|
|
|
|
# and run it at pkg_add time
|
1999-09-28 20:43:46 -04:00
|
|
|
CONFIGURE_ARGS=--without-emacs
|
2005-02-21 15:49:25 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
1999-10-07 12:02:55 -04:00
|
|
|
|
2000-04-09 10:25:33 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/id-utils
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lisp/id-utils.el ${PREFIX}/lib/id-utils
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/lisp/elisp-comp ${PREFIX}/lib/id-utils
|
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/recompile ${PREFIX}/lib/id-utils
|
1997-12-01 16:37:56 -05:00
|
|
|
|
1999-05-10 23:04:35 -04:00
|
|
|
# International files don't want to be built separately
|
|
|
|
#
|
|
|
|
SEPARATE_BUILD= simple
|
2000-10-22 11:41:23 -04:00
|
|
|
CONFIGURE_STYLE=gnu
|
1997-12-01 16:37:56 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|