pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/eterm simplify DISTFILES and extract.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c5232b53aa11
branches:  trunk
changeset: 399447:c5232b53aa11
user:      obache <obache%pkgsrc.org@localhost>
date:      Sun Sep 20 04:35:25 2009 +0000

description:
simplify DISTFILES and extract.

diffstat:

 x11/eterm/Makefile |  13 +++----------
 1 files changed, 3 insertions(+), 10 deletions(-)

diffs (41 lines):

diff -r 9cf774ca235e -r c5232b53aa11 x11/eterm/Makefile
--- a/x11/eterm/Makefile        Sun Sep 20 04:21:44 2009 +0000
+++ b/x11/eterm/Makefile        Sun Sep 20 04:35:25 2009 +0000
@@ -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@localhost
 HOMEPAGE=      http://www.eterm.org/
@@ -17,8 +17,6 @@
 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 @@
 
 .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"



Home | Main Index | Thread Index | Old Index