summaryrefslogtreecommitdiff
path: root/x11-wm/epiwm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/epiwm/Makefile')
-rw-r--r--x11-wm/epiwm/Makefile46
1 files changed, 6 insertions, 40 deletions
diff --git a/x11-wm/epiwm/Makefile b/x11-wm/epiwm/Makefile
index 78b03c8f1b92..edccfc39f832 100644
--- a/x11-wm/epiwm/Makefile
+++ b/x11-wm/epiwm/Makefile
@@ -7,7 +7,7 @@
PORTNAME= epiwm
PORTVERSION= 0.5.6
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11-wm
MASTER_SITES= http://www.nongnu.org/epiwm/download/
@@ -23,48 +23,14 @@ LIB_DEPENDS= Imlib.5:${PORTSDIR}/graphics/imlib \
CONFIG= icons key menu start style window workspace
DOCS= AUTHORS BUGS COPYING ChangeLog EPIwm-0.5.6.lsm INSTALL NEWS \
README TODO
-PLIST= ${WRKDIR}/pkg-plist
-USE_AUTOTOOLS= automake:14:env autoconf:213
+GNU_CONFIGURE= yes
USE_X_PREFIX= yes
-post-extract:
-# Avoid having to read this file.
- ${RM} ${WRKSRC}/configure
-
-do-patch:
- ${CP} -p ${WRKSRC}/configure.in ${WRKSRC}/configure.in.orig
- ${SED} -e 's|/etc/X11/epiwm|${PREFIX}/etc/epiwm|' \
- < ${WRKSRC}/configure.in.orig > ${WRKSRC}/configure.in
-
-pre-configure:
- cd ${WRKSRC} && automake14 -i && autoconf213
-
-pre-install:
- ${RM} -f ${PLIST}
-.for ii in epiwm logoepiwm epiwm.inst
- ${ECHO_CMD} bin/${ii} >> ${PLIST}
-.endfor
-.for ii in ${CONFIG}
- ${ECHO_CMD} etc/epiwm/${ii} >> ${PLIST}
-.endfor
-.if !defined(NOPORTDOCS)
-.for ii in ${DOCS}
- ${ECHO_CMD} share/doc/epiwm/${ii} >> ${PLIST}
-.endfor
-.for ii in etc share/doc
- ${ECHO_CMD} @dirrm ${ii}/epiwm >> ${PLIST}
-.endfor
-.endif
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/epiwm \
- ${WRKSRC}/modules/logoepiwm/logoepiwm ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/epiwm.inst ${PREFIX}/bin
- ${MKDIR} ${PREFIX}/etc/epiwm
-.for ii in ${CONFIG}
- ${INSTALL_DATA} ${WRKSRC}/config/${ii} ${PREFIX}/etc/epiwm
-.endfor
+post-patch:
+ ${REINPLACE_CMD} 's|/etc/X11/epiwm|${PREFIX}/etc/epiwm|' \
+ ${WRKSRC}/configure
+post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for ii in ${DOCS}