summaryrefslogtreecommitdiff
path: root/editors/xemacs
diff options
context:
space:
mode:
authortron <tron>2002-04-26 09:35:06 +0000
committertron <tron>2002-04-26 09:35:06 +0000
commitc792ce9c5bba0cb84337f0ffcc782cfc7dfa0457 (patch)
tree6c7f8946e4a8dbdd22c6471804b9b810bbc24d95 /editors/xemacs
parent0593fa6399eda5effccffa354b877a97a1628f73 (diff)
downloadpkgsrc-c792ce9c5bba0cb84337f0ffcc782cfc7dfa0457.tar.gz
Move "xemacs" prefix handling into a makefile which can be used by other
packages, too.
Diffstat (limited to 'editors/xemacs')
-rw-r--r--editors/xemacs/Makefile.pkg13
1 files changed, 13 insertions, 0 deletions
diff --git a/editors/xemacs/Makefile.pkg b/editors/xemacs/Makefile.pkg
new file mode 100644
index 00000000000..44fbca5e5c8
--- /dev/null
+++ b/editors/xemacs/Makefile.pkg
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile.pkg,v 1.1 2002/04/26 09:35:06 tron Exp $
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !defined(XEMACS_PREFIX)
+XEMACS_PREFIX!= ${MAKE} XEMACS_PREFIX= EVAL_PREFIX=_XEMACS_PREFIX=xemacs \
+ VARNAME=_XEMACS_PREFIX show-var
+MAKEFLAGS+= XEMACS_PREFIX=${XEMACS_PREFIX}
+.endif
+
+.if (${XEMACS_PREFIX} == ${X11BASE})
+USE_X11BASE= YES
+.endif