diff options
author | krion <krion@FreeBSD.org> | 2004-03-30 15:34:11 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-03-30 15:34:11 +0800 |
commit | c1f2b71551f9a5c2111a5fb62abb33282e4064e9 (patch) | |
tree | 5414d9b441fd51875512dff823496f643f41b975 /devel/idutils | |
parent | 621010ee82441f06aa61aa185f8c9813f615b4b2 (diff) | |
download | freebsd-ports-gnome-c1f2b71551f9a5c2111a5fb62abb33282e4064e9.tar.gz freebsd-ports-gnome-c1f2b71551f9a5c2111a5fb62abb33282e4064e9.tar.zst freebsd-ports-gnome-c1f2b71551f9a5c2111a5fb62abb33282e4064e9.zip |
- Fix install
Noticed by: bento via kris
Diffstat (limited to 'devel/idutils')
-rw-r--r-- | devel/idutils/Makefile | 10 | ||||
-rw-r--r-- | devel/idutils/pkg-plist | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/devel/idutils/Makefile b/devel/idutils/Makefile index 07d8b9d35eaf..4cc2d272be53 100644 --- a/devel/idutils/Makefile +++ b/devel/idutils/Makefile @@ -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' diff --git a/devel/idutils/pkg-plist b/devel/idutils/pkg-plist index 6ae166ac0603..3d78d582d9d7 100644 --- a/devel/idutils/pkg-plist +++ b/devel/idutils/pkg-plist @@ -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 |