svn commit: r355846 - in head/korean/kaistfonts: . files

Pawel Pekala pawel at FreeBSD.org
Fri May 30 14:22:03 UTC 2014


Author: pawel
Date: Fri May 30 14:22:02 2014
New Revision: 355846
URL: http://svnweb.freebsd.org/changeset/ports/355846
QAT: https://qat.redports.org/buildarchive/r355846/

Log:
  - Add staging support
  - Use canonical name for patch

Added:
  head/korean/kaistfonts/files/patch-Makefile
     - copied, changed from r355844, head/korean/kaistfonts/files/patch-aa
Deleted:
  head/korean/kaistfonts/files/patch-aa
Modified:
  head/korean/kaistfonts/Makefile

Modified: head/korean/kaistfonts/Makefile
==============================================================================
--- head/korean/kaistfonts/Makefile	Fri May 30 14:16:38 2014	(r355845)
+++ head/korean/kaistfonts/Makefile	Fri May 30 14:22:02 2014	(r355846)
@@ -21,7 +21,6 @@ USES=		gmake
 NO_WRKSUBDIR=	yes
 MAKE_ENV=	DISTDIR=${DISTDIR} DISTFILES="${DISTFILES}"
 
-NO_STAGE=	yes
 do-extract:
 	@${RM} -fr ${WRKDIR} && \
 	${MKDIR} ${WRKDIR} && \
@@ -30,7 +29,4 @@ do-extract:
 		${GUNZIP_CMD} -c < ${_DISTDIR}/$$file > `${ECHO_CMD} $$file | ${SED} -e 's/\.Z//' -e 's/\.gz//'`; \
 	done
 
-post-install:
-	${CAT} ${PKGMESSAGE}
-
 .include <bsd.port.mk>

Copied and modified: head/korean/kaistfonts/files/patch-Makefile (from r355844, head/korean/kaistfonts/files/patch-aa)
==============================================================================
--- head/korean/kaistfonts/files/patch-aa	Fri May 30 14:11:02 2014	(r355844, copy source)
+++ head/korean/kaistfonts/files/patch-Makefile	Fri May 30 14:22:02 2014	(r355846)
@@ -1,6 +1,6 @@
 --- Makefile.orig	Wed Oct  1 22:41:26 1997
 +++ Makefile	Wed Oct  1 22:46:06 1997
-@@ -0,0 +1,17 @@
+@@ -0,0 +1,16 @@
 +.SUFFIXES: .bdf .pcf
 +
 +TMP=	${DISTFILES:%.gz=%}
@@ -10,11 +10,10 @@
 +all:	${PCF}
 +
 +install:
-+	-mkdir -p ${PREFIX}/lib/X11/fonts/local
++	-mkdir -p ${DESTDIR}${PREFIX}/lib/X11/fonts/local
 +	for i in ${PCF}; do \
-+		gzip -c < $$i > ${PREFIX}/lib/X11/fonts/local/$$i.gz; \
++		gzip -c < $$i > ${DESTDIR}${PREFIX}/lib/X11/fonts/local/$$i.gz; \
 +	done
-+	cd ${PREFIX}/lib/X11/fonts/local/ ; mkfontdir
 +
 +.bdf.pcf:
 +	bdftopcf $*.bdf > $*.pcf


More information about the svn-ports-all mailing list