summaryrefslogtreecommitdiff
path: root/x11/eterm/Makefile
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2009-09-20 04:35:25 +0000
committerobache <obache@pkgsrc.org>2009-09-20 04:35:25 +0000
commitec535154ee183b08e62b0f9eee013b95d237c995 (patch)
tree921565dcb6c2fcecc1f7594e47017c4fbdd3840b /x11/eterm/Makefile
parent7fed234de594ecfee24a8e40697a09b922cc47bc (diff)
downloadpkgsrc-ec535154ee183b08e62b0f9eee013b95d237c995.tar.gz
simplify DISTFILES and extract.
Diffstat (limited to 'x11/eterm/Makefile')
-rw-r--r--x11/eterm/Makefile13
1 files changed, 3 insertions, 10 deletions
diff --git a/x11/eterm/Makefile b/x11/eterm/Makefile
index 565e90abd98..f79b9a5fe76 100644
--- a/x11/eterm/Makefile
+++ b/x11/eterm/Makefile
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.56 2009/09/20 04:21:44 obache Exp $
+# $NetBSD: Makefile,v 1.57 2009/09/20 04:35:25 obache Exp $
DISTNAME= Eterm-0.9.4
PKGNAME= ${DISTNAME:S/^E/e/}
PKGREVISION= 2
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=eterm/}
-DISTFILES= ${ETERM_SRCS} ${PIXMAP_FILES}
+DISTFILES= ${DEFAULT_DISTFILES} ${PIXMAP_FILES}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.eterm.org/
@@ -17,8 +17,6 @@ SITES.Eterm-bg-scale-1.tar.gz= ${MASTER_SITE_BACKUP}
SITES.Eterm-bg-scale-2.tar.gz= ${MASTER_SITE_BACKUP}
SITES.Eterm-bg-tile.tar.gz= ${MASTER_SITE_BACKUP}
-EXTRACT_ONLY= ${ETERM_SRCS}
-ETERM_SRCS= ${DISTNAME}${EXTRACT_SUFX}
PIXMAP_FILES= Eterm-bg-scale-1.tar.gz Eterm-bg-scale-2.tar.gz \
Eterm-bg-tile.tar.gz
@@ -45,13 +43,8 @@ SPECIAL_PERMS= ${PREFIX}/bin/Eterm ${SETUID_ROOT_PERMS}
.include "options.mk"
-post-extract:
+pre-extract:
${LN} -sf ${WRKSRC} ${WRKDIR}/Eterm
- set -e; \
- cd ${WRKDIR} && \
- for f in ${PIXMAP_FILES}; do \
- pax -O -zrf ${DISTDIR}/"$$f"; \
- done
.include "../../devel/libast/buildlink3.mk"
.include "../../graphics/imlib2/buildlink3.mk"