summaryrefslogtreecommitdiff
path: root/editors/uemacs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/uemacs/Makefile')
-rw-r--r--editors/uemacs/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/editors/uemacs/Makefile b/editors/uemacs/Makefile
new file mode 100644
index 000000000000..a2386c179c22
--- /dev/null
+++ b/editors/uemacs/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: MicroEmacs
+# Version required: 3.12
+# Date created: 16 Jan 1995
+# Whom: thomas@ghpc8.ihf.rwth-aachen.de
+#
+
+DISTNAME= uemacs
+MASTER_SITES= ftp://midas.mgmt.purdue.edu/pub/ue312/
+PATCH_STRIP= -p1
+DISTFILES= ue312dev.zip
+EXEC_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
+
+# one weakness of the ports scheme: it doesn't allow arguments
+# to ${EXTRACT_CMD} after the filename, which is required for unzip.
+
+NO_WRKSUBDIR= yes
+
+pre-extract: exec_depends
+ @echo "===> Extracting for ${DISTNAME}"
+ @rm -rf ${WRKDIR}
+ @mkdir -p ${WRKDIR}
+ @unzip -Laq ${DISTDIR}/${DISTFILES} -d ${WRKDIR}
+
+extract: fetch pre-extract ${EXTRACT_COOKIE}
+ @${TOUCH} ${TOUCH_FLAGS} ${EXTRACT_COOKIE}
+
+.include <bsd.port.mk>