1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Fix install

Noticed by:	bento via kris
This commit is contained in:
Kirill Ponomarev 2004-03-30 07:34:11 +00:00
parent 51929f674a
commit dcfc221cfc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105678
4 changed files with 20 additions and 4 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= id-utils
PORTVERSION= 3.2d
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU_ALPHA}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -33,6 +33,14 @@ USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
.if exists(${LOCALBASE}/bin/emacs)
PLIST_SUB+= EMACS="" EMACSDIR=share/emacs
.elif exists(${LOCALBASE}/bin/xemacs)
PLIST_SUB+= EMACS="" EMACSDIR=lib/xemacs
.else
PLIST_SUB+= EMACS="@comment " EMACSDIR=""
.endif
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|@EMACS@|no|g'

View File

@ -7,7 +7,7 @@ bin/gid
bin/lid
bin/mkid
bin/xtokid
share/emacs/site-lisp/id-utils.el
%%EMACS%%%%EMACSDIR%%/share/emacs/site-lisp/id-utils.el
share/id-lang.map
%%NLS%%share/locale/de/LC_MESSAGES/id-utils.mo
%%NLS%%share/locale/fr/LC_MESSAGES/id-utils.mo

View File

@ -7,7 +7,7 @@
PORTNAME= id-utils
PORTVERSION= 3.2d
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU_ALPHA}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -33,6 +33,14 @@ USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
.if exists(${LOCALBASE}/bin/emacs)
PLIST_SUB+= EMACS="" EMACSDIR=share/emacs
.elif exists(${LOCALBASE}/bin/xemacs)
PLIST_SUB+= EMACS="" EMACSDIR=lib/xemacs
.else
PLIST_SUB+= EMACS="@comment " EMACSDIR=""
.endif
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|@EMACS@|no|g'

View File

@ -7,7 +7,7 @@ bin/gid
bin/lid
bin/mkid
bin/xtokid
share/emacs/site-lisp/id-utils.el
%%EMACS%%%%EMACSDIR%%/share/emacs/site-lisp/id-utils.el
share/id-lang.map
%%NLS%%share/locale/de/LC_MESSAGES/id-utils.mo
%%NLS%%share/locale/fr/LC_MESSAGES/id-utils.mo