aboutsummaryrefslogtreecommitdiff
path: root/print/afm
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-03-30 14:44:32 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-03-30 14:44:32 +0000
commit3e47031cc31080b03982ad7adceef8c162174900 (patch)
tree8495a5a7c7c6f6cab49cc075470a0c2260ccc896 /print/afm
parent51981595781bb1063ee8dcab138ed5aad0db1326 (diff)
downloadports-3e47031cc31080b03982ad7adceef8c162174900.tar.gz
ports-3e47031cc31080b03982ad7adceef8c162174900.zip
Support stage
Bump portrevision, own of installed files as changed
Notes
Notes: svn path=/head/; revision=349626
Diffstat (limited to 'print/afm')
-rw-r--r--print/afm/Makefile7
-rw-r--r--print/afm/files/patch-Makefile22
-rw-r--r--print/afm/files/patch-aa37
3 files changed, 24 insertions, 42 deletions
diff --git a/print/afm/Makefile b/print/afm/Makefile
index 0c0a47d19f4c..d744271d5b7f 100644
--- a/print/afm/Makefile
+++ b/print/afm/Makefile
@@ -3,6 +3,7 @@
PORTNAME= afm
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= ftp://ftp.sgi.com/sgi/fax/source/
DISTNAME= afm
@@ -11,12 +12,8 @@ EXTRACT_SUFX= -tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= Adobe Font Metrics
-
-NO_STAGE= yes
+NO_BUILD= yes
pre-patch:
@${RM} -rf ${WRKSRC}/RCS
-do-build:
- @${TRUE}
-
.include <bsd.port.mk>
diff --git a/print/afm/files/patch-Makefile b/print/afm/files/patch-Makefile
new file mode 100644
index 000000000000..63882d0e75ae
--- /dev/null
+++ b/print/afm/files/patch-Makefile
@@ -0,0 +1,22 @@
+--- ./Makefile.orig 1993-04-19 01:07:07.000000000 +0200
++++ ./Makefile 2014-03-30 16:43:16.320680044 +0200
+@@ -36,8 +36,8 @@
+ # lptops program expects them to reside in files without a ".afm"
+ # suffix.
+ #
+-DEPTH=..
+-include ${DEPTH}/defs
++AFMDIR=${PREFIX}/lib/afm
++INSTALL=install
+
+ AFMFILES=\
+ AvantGarde-Book.afm \
+@@ -80,6 +80,7 @@
+ ${NULL}
+
+ install: ${AFMFILES}
++ [ -d ${DESTDIR}${AFMDIR} ] || mkdir ${DESTDIR}${AFMDIR}
+ for i in ${AFMFILES}; do \
+- ${INSTALL} -F ${AFMDIR} -m 444 -src $$i -O `basename $$i .afm`; \
++ ${INSTALL} -c -m 444 $$i ${DESTDIR}${AFMDIR}/`basename $$i .afm`; \
+ done
diff --git a/print/afm/files/patch-aa b/print/afm/files/patch-aa
deleted file mode 100644
index 6a54f5a7dc53..000000000000
--- a/print/afm/files/patch-aa
+++ /dev/null
@@ -1,37 +0,0 @@
-*** Makefile Sun Apr 18 16:07:07 1993
---- ../../Makefile.new Wed Nov 23 06:42:43 1994
-***************
-*** 36,43 ****
- # lptops program expects them to reside in files without a ".afm"
- # suffix.
- #
-! DEPTH=..
-! include ${DEPTH}/defs
-
- AFMFILES=\
- AvantGarde-Book.afm \
---- 36,43 ----
- # lptops program expects them to reside in files without a ".afm"
- # suffix.
- #
-! AFMDIR=${PREFIX}/lib/afm
-! INSTALL=install
-
- AFMFILES=\
- AvantGarde-Book.afm \
-***************
-*** 80,85 ****
- ${NULL}
-
- install: ${AFMFILES}
- for i in ${AFMFILES}; do \
-! ${INSTALL} -F ${AFMDIR} -m 444 -src $$i -O `basename $$i .afm`; \
- done
---- 80,86 ----
- ${NULL}
-
- install: ${AFMFILES}
-+ [ -d ${AFMDIR} ] || mkdir ${AFMDIR}
- for i in ${AFMFILES}; do \
-! ${INSTALL} -c -o bin -g bin -m 444 $$i ${AFMDIR}/`basename $$i .afm`; \
- done