2000-02-15 05:03:51 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2000/02/15 05:04:13 turan Exp $
|
1997-12-01 21:37:56 +00:00
|
|
|
|
1999-05-11 03:04:35 +00:00
|
|
|
DISTNAME= id-utils-3.2d
|
1997-12-01 21:37:56 +00:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
1998-03-15 04:30:47 +00:00
|
|
|
MAINTAINER= ports@OpenBSD.ORG
|
1997-12-01 21:37:56 +00:00
|
|
|
|
2000-02-12 08:02:07 +00:00
|
|
|
LICENSE_TYPE= GPL
|
2000-02-15 05:03:51 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= YES
|
|
|
|
PERMIT_PACKAGE_FTP= YES
|
|
|
|
PERMIT_DISTFILES_CDROM= YES
|
|
|
|
PERMIT_DISTFILES_FTP= YES
|
2000-02-12 08:02:07 +00:00
|
|
|
|
1999-05-11 03:04:35 +00:00
|
|
|
MASTER_SITES= ftp://alpha.gnu.org/gnu/ \
|
|
|
|
ftp://ftp.enst.fr/pub/gnu/gnits/
|
1998-10-08 18:21:00 +00:00
|
|
|
|
1999-10-07 16:02:55 +00:00
|
|
|
# take over the management of emacs file, as the current process is abysmal.
|
1999-09-29 00:43:46 +00:00
|
|
|
CONFIGURE_ARGS=--without-emacs
|
1999-10-07 16:02:55 +00: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 22:08:27 +00:00
|
|
|
BUILD_DEPENDS+= xemacs:${PORTSDIR}/editors/xemacs20
|
1999-10-07 16:02:55 +00: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 16:24:56 +00:00
|
|
|
@echo "lib/xemacs/site-lisp/id-utils.el" >>${PLIST}
|
|
|
|
@echo "lib/xemacs/site-lisp/id-utils.elc" >>${PLIST}
|
1999-10-07 16:02:55 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/emacs/site-lisp
|
1999-11-03 16:24:56 +00: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-29 00:43:46 +00:00
|
|
|
.endif
|
1999-10-07 16:02:55 +00:00
|
|
|
|
1997-12-01 21:37:56 +00:00
|
|
|
|
1999-05-11 03:04:35 +00:00
|
|
|
# International files don't want to be built separately
|
|
|
|
#
|
|
|
|
SEPARATE_BUILD= simple
|
1997-12-01 21:37:56 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|