aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2014-08-05 18:50:42 +0800
committerjhale <jhale@FreeBSD.org>2014-08-05 18:50:42 +0800
commit306cc22e6afa764c42f57a00af9e338f2cc9d909 (patch)
tree062426ecb2a28f36eb066cb61ad97e0c042acdf0
parent1b7a559db7f5632668ac9f2ea82538a3c5cc8956 (diff)
downloadfreebsd-ports-gnome-306cc22e6afa764c42f57a00af9e338f2cc9d909.tar.gz
freebsd-ports-gnome-306cc22e6afa764c42f57a00af9e338f2cc9d909.tar.zst
freebsd-ports-gnome-306cc22e6afa764c42f57a00af9e338f2cc9d909.zip
- Stagify
- PLIST_FILES -> pkg-plist
-rw-r--r--editors/e3/Makefile4
-rw-r--r--editors/e3/files/patch-Makefile29
-rw-r--r--editors/e3/pkg-plist7
3 files changed, 25 insertions, 15 deletions
diff --git a/editors/e3/Makefile b/editors/e3/Makefile
index 0b853a638d20..02514885a338 100644
--- a/editors/e3/Makefile
+++ b/editors/e3/Makefile
@@ -16,12 +16,8 @@ USES= gmake tar:tgz
MAKE_ARGS= OS=FREEBSD
ONLY_FOR_ARCHS= i386
-MAN1= e3.1
-PLIST_FILES= bin/e3 bin/e3em bin/e3ne bin/e3pi bin/e3vi bin/e3ws
-
FETCH_ARGS= -p -o ${DISTDIR}/${DISTFILES}
-NO_STAGE= yes
do-fetch:
@if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
${FETCH_CMD} ${MASTER_SITES}${DISTFILES}?attredirects=0\&d=1 ; \
diff --git a/editors/e3/files/patch-Makefile b/editors/e3/files/patch-Makefile
index cf7c7cc97607..d881e8be2b81 100644
--- a/editors/e3/files/patch-Makefile
+++ b/editors/e3/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig 2010-05-28 03:58:59.000000000 +0900
-+++ Makefile 2010-07-12 10:10:41.000000000 +0900
+--- ./Makefile.orig 2010-05-27 14:58:59.000000000 -0400
++++ ./Makefile 2014-08-05 06:40:07.000000000 -0400
@@ -7,7 +7,7 @@
# 2. edit dest dir prefix if you want....
@@ -18,19 +18,26 @@
ld -s -o e3 e3.o
strip --remove-section .comment e3
endif
-@@ -72,13 +72,13 @@
+@@ -71,14 +71,14 @@
+ # -------------------------------------------------
install: e3
- install -d $(PREFIX) $(BINDIR) $(MANDIR)
+- install -d $(PREFIX) $(BINDIR) $(MANDIR)
- install -m 755 e3 $(BINDIR)
-+ ${BSD_INSTALL_PROGRAM} e3 $(BINDIR)
- ln -sf $(BINDIR)/e3 $(BINDIR)/e3ws
- ln -sf $(BINDIR)/e3 $(BINDIR)/e3em
- ln -sf $(BINDIR)/e3 $(BINDIR)/e3pi
- ln -sf $(BINDIR)/e3 $(BINDIR)/e3vi
- ln -sf $(BINDIR)/e3 $(BINDIR)/e3ne
+- ln -sf $(BINDIR)/e3 $(BINDIR)/e3ws
+- ln -sf $(BINDIR)/e3 $(BINDIR)/e3em
+- ln -sf $(BINDIR)/e3 $(BINDIR)/e3pi
+- ln -sf $(BINDIR)/e3 $(BINDIR)/e3vi
+- ln -sf $(BINDIR)/e3 $(BINDIR)/e3ne
- install -m 644 e3.man $(MANDIR)/e3.$(MANSEC)
-+ ${BSD_INSTALL_MAN} e3.man $(MANDIR)/e3.$(MANSEC)
++ install -d $(DESTDIR)$(PREFIX) $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)
++ ${BSD_INSTALL_PROGRAM} e3 $(DESTDIR)$(BINDIR)
++ ln -sf e3 $(DESTDIR)$(BINDIR)/e3ws
++ ln -sf e3 $(DESTDIR)$(BINDIR)/e3em
++ ln -sf e3 $(DESTDIR)$(BINDIR)/e3pi
++ ln -sf e3 $(DESTDIR)$(BINDIR)/e3vi
++ ln -sf e3 $(DESTDIR)$(BINDIR)/e3ne
++ ${BSD_INSTALL_MAN} e3.man $(DESTDIR)$(MANDIR)/e3.$(MANSEC)
clean:
rm -f e3*.o e3*.lst e3.tmp e3 e3em e3pi e3vi e3ws e3ne *~
diff --git a/editors/e3/pkg-plist b/editors/e3/pkg-plist
new file mode 100644
index 000000000000..8e72fbe7305c
--- /dev/null
+++ b/editors/e3/pkg-plist
@@ -0,0 +1,7 @@
+bin/e3
+bin/e3em
+bin/e3ne
+bin/e3pi
+bin/e3vi
+bin/e3ws
+man/man1/e3.1.gz