diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-02 19:02:46 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-02 19:02:46 +0000 |
commit | a93752abaf91ca77f3127f5c8a75d8958ac5218d (patch) | |
tree | 1435cb14082b0a8b066c5fc3d9aee76973d2677f /devel/idutils/Makefile | |
parent | 9d79490219f2af21e1a806507e66accef4693a9d (diff) |
- Support USE_GETOPT_LONG
- Avoid unexpected side effect by other ports
PR: ports/65081
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=105979
Diffstat (limited to 'devel/idutils/Makefile')
-rw-r--r-- | devel/idutils/Makefile | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/devel/idutils/Makefile b/devel/idutils/Makefile index 4cc2d272be53..9031665a833e 100644 --- a/devel/idutils/Makefile +++ b/devel/idutils/Makefile @@ -7,7 +7,7 @@ PORTNAME= id-utils PORTVERSION= 3.2d -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU_ALPHA} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -17,14 +17,16 @@ COMMENT= The classic Berkeley gid/lid tools for looking up variables in code CONFLICTS= coreutils-* sh-utils-* -USE_REINPLACE= yes +USE_GETOPT_LONG= yes USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" INFO= id-utils +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib + .if defined(WITHOUT_NLS) CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " @@ -33,16 +35,10 @@ 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-extract: + @${RM} -f ${WRKSRC}/lib/getopt.h -post-patch: - @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ - 's|@EMACS@|no|g' +post-install: + ${INSTALL_DATA} ${WRKSRC}/lisp/id-utils.el ${PREFIX}/share/emacs/site-lisp .include <bsd.port.mk> |