summaryrefslogtreecommitdiff
path: root/graphics/artist
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2003-01-11 09:31:09 +0000
committeruebayasi <uebayasi>2003-01-11 09:31:09 +0000
commit3f342a95a91742b2b0b6b09e4924a08442608e73 (patch)
tree4e3eb34836751d40c2a4446310a74eb8f416b67b /graphics/artist
parent3953acb9f48424dd16e8d66dc163e2670b6ebdab (diff)
downloadpkgsrc-3f342a95a91742b2b0b6b09e4924a08442608e73.tar.gz
Use emacs.mk.
Diffstat (limited to 'graphics/artist')
-rw-r--r--graphics/artist/Makefile15
-rw-r--r--graphics/artist/PLIST8
2 files changed, 13 insertions, 10 deletions
diff --git a/graphics/artist/Makefile b/graphics/artist/Makefile
index c3e7042e9b7..8046ae114f9 100644
--- a/graphics/artist/Makefile
+++ b/graphics/artist/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/11/29 08:59:48 martti Exp $
+# $NetBSD: Makefile,v 1.2 2003/01/11 09:31:09 uebayasi Exp $
#
DISTNAME= artist-1.2.4
@@ -9,17 +9,20 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.lysator.liu.se/~tab/artist/
COMMENT= Elisp drawing package with mouse and keyboard support
-DEPENDS+= emacs>=19.29:../../editors/emacs
-
GNU_CONFIGURE= YES
+.include "../../mk/emacs.mk"
+
+.if ${EMACS_FLAVOR} == "xemacs"
+MAKE_FLAGS+= EMACS=xemacs
+MAKE_FLAGS+= lispdir=${EMACS_LISPPREFIX}/artist
+.endif
+
DOCS= BUGS COPYING ChangeLog INSTALL README TODO
DOCDIR= ${PREFIX}/share/doc/artist
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
-.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/$f ${DOCDIR}
-.endfor
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCDIR}
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/artist/PLIST b/graphics/artist/PLIST
index 8f4edf056b8..373d9183630 100644
--- a/graphics/artist/PLIST
+++ b/graphics/artist/PLIST
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2001/11/29 08:59:48 martti Exp $
-share/emacs/site-lisp/artist/artist.el
-share/emacs/site-lisp/artist/artist.elc
+@comment $NetBSD: PLIST,v 1.2 2003/01/11 09:31:09 uebayasi Exp $
+${EMACS_LISPPREFIX}/artist/artist.el
+${EMACS_LISPPREFIX}/artist/artist.elc
share/doc/artist/BUGS
share/doc/artist/COPYING
share/doc/artist/ChangeLog
share/doc/artist/INSTALL
share/doc/artist/README
share/doc/artist/TODO
-@dirrm share/emacs/site-lisp/artist
@dirrm share/doc/artist
+@dirrm ${EMACS_LISPPREFIX}/artist