39 lines
1004 B
Makefile
39 lines
1004 B
Makefile
# $OpenBSD: Makefile,v 1.32 2010/11/15 19:45:59 espie Exp $
|
|
|
|
COMMENT= gid/lid tools for looking up variables in code
|
|
|
|
DISTNAME= id-utils-3.2d
|
|
REVISION = 1
|
|
CATEGORIES= devel
|
|
|
|
# License: GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c
|
|
|
|
MASTER_SITES= ftp://alpha.gnu.org/gnu/ \
|
|
ftp://ftp.enst.fr/pub/gnu/gnits/
|
|
|
|
MODULES= devel/gettext
|
|
|
|
# don't compile emacs mode files now, install what's needed
|
|
# and run it at pkg_add time
|
|
CONFIGURE_ARGS=--without-emacs
|
|
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
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
|
|
|
|
# International files don't want to be built separately
|
|
#
|
|
SEPARATE_BUILD= simple
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
.include <bsd.port.mk>
|