1999-11-03 11:24:56 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.13 1999/11/03 16:24:56 espie Exp $
|
1997-12-01 16:37:56 -05:00
|
|
|
|
1999-05-10 23:04:35 -04:00
|
|
|
DISTNAME= id-utils-3.2d
|
1997-12-01 16:37:56 -05:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
1998-03-14 23:30:47 -05:00
|
|
|
MAINTAINER= ports@OpenBSD.ORG
|
1997-12-01 16:37:56 -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
|
|
|
|
1999-10-07 12:02:55 -04:00
|
|
|
# take over the management of emacs file, as the current process is abysmal.
|
1999-09-28 20:43:46 -04:00
|
|
|
CONFIGURE_ARGS=--without-emacs
|
1999-10-07 12:02:55 -04:00
|
|
|
PKGNAME=${DISTNAME}
|
|
|
|
.if defined(WITHOUT_EMACS)
|
|
|
|
PKGNAME:=${PKGNAME}-noemacs
|
|
|
|
.else
|
|
|
|
BUILD_DEPENDS+= emacs:${PORTSDIR}/editors/emacs
|
|
|
|
.endif
|
|
|
|
.if defined(WITHOUT_XEMACS)
|
|
|
|
PKGNAME:=${PKGNAME}-noxemacs
|
|
|
|
.else
|
1999-10-14 18:08:27 -04:00
|
|
|
BUILD_DEPENDS+= xemacs:${PORTSDIR}/editors/xemacs20
|
1999-10-07 12:02:55 -04:00
|
|
|
.endif
|
|
|
|
PLIST=${WRKBUILD}/PLIST
|
|
|
|
|
|
|
|
post-build:
|
|
|
|
.if !defined(WITHOUT_EMACS)
|
|
|
|
mkdir -p ${WRKBUILD}/elisp
|
|
|
|
cd ${WRKBUILD}/elisp && ln -s -f ${WRKSRC}/lisp/id-utils.el && \
|
|
|
|
EMACS=emacs ${SHELL} ${WRKSRC}/lisp/elisp-comp id-utils.el
|
|
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_XEMACS)
|
|
|
|
mkdir -p ${WRKBUILD}/xelisp
|
|
|
|
cd ${WRKBUILD}/xelisp && ln -s -f ${WRKSRC}/lisp/id-utils.el && \
|
|
|
|
EMACS=xemacs ${SHELL} ${WRKSRC}/lisp/elisp-comp id-utils.el
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@cp ${FILESDIR}/PLIST ${PLIST}
|
|
|
|
.if !defined(WITHOUT_EMACS)
|
|
|
|
@echo "share/emacs/site-lisp/id-utils.el" >>${PLIST}
|
|
|
|
@echo "share/emacs/site-lisp/id-utils.elc" >>${PLIST}
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/elisp/id-utils.el ${PREFIX}/share/emacs/site-lisp
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/elisp/id-utils.elc ${PREFIX}/share/emacs/site-lisp
|
|
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_XEMACS)
|
1999-11-03 11:24:56 -05:00
|
|
|
@echo "lib/xemacs/site-lisp/id-utils.el" >>${PLIST}
|
|
|
|
@echo "lib/xemacs/site-lisp/id-utils.elc" >>${PLIST}
|
1999-10-07 12:02:55 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/emacs/site-lisp
|
1999-11-03 11:24:56 -05:00
|
|
|
${INSTALL_DATA} ${WRKBUILD}/elisp/id-utils.el ${PREFIX}/lib/xemacs/site-lisp
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/elisp/id-utils.elc ${PREFIX}/lib/xemacs/site-lisp
|
1999-09-28 20:43:46 -04:00
|
|
|
.endif
|
1999-10-07 12:02:55 -04:00
|
|
|
|
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
|
1997-12-01 16:37:56 -05:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|