Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Mar 2014 14:44:32 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349626 - in head/print/afm: . files
Message-ID:  <201403301444.s2UEiWhJ019203@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Mar 30 14:44:32 2014
New Revision: 349626
URL: http://svnweb.freebsd.org/changeset/ports/349626
QAT: https://qat.redports.org/buildarchive/r349626/

Log:
  Support stage
  Bump portrevision, own of installed files as changed

Added:
  head/print/afm/files/patch-Makefile   (contents, props changed)
Deleted:
  head/print/afm/files/patch-aa
Modified:
  head/print/afm/Makefile

Modified: head/print/afm/Makefile
==============================================================================
--- head/print/afm/Makefile	Sun Mar 30 14:39:51 2014	(r349625)
+++ head/print/afm/Makefile	Sun Mar 30 14:44:32 2014	(r349626)
@@ -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>

Added: head/print/afm/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/afm/files/patch-Makefile	Sun Mar 30 14:44:32 2014	(r349626)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403301444.s2UEiWhJ019203>