Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2013 23:55:01 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332331 - in head/x11-fonts/artwiz-aleczapka: . files
Message-ID:  <201310312355.r9VNt1HI019923@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: garga
Date: Thu Oct 31 23:55:01 2013
New Revision: 332331
URL: http://svnweb.freebsd.org/changeset/ports/332331

Log:
  . Support STAGE
  . Simplify Makefile
  . Move pkg-message to files/pkg-message.in and use SUB_FILES

Added:
  head/x11-fonts/artwiz-aleczapka/files/
  head/x11-fonts/artwiz-aleczapka/files/pkg-message.in   (contents, props changed)
     - copied, changed from r332291, head/x11-fonts/artwiz-aleczapka/pkg-message
Deleted:
  head/x11-fonts/artwiz-aleczapka/pkg-message
Modified:
  head/x11-fonts/artwiz-aleczapka/Makefile   (contents, props changed)

Modified: head/x11-fonts/artwiz-aleczapka/Makefile
==============================================================================
--- head/x11-fonts/artwiz-aleczapka/Makefile	Thu Oct 31 23:53:45 2013	(r332330)
+++ head/x11-fonts/artwiz-aleczapka/Makefile	Thu Oct 31 23:55:01 2013	(r332331)
@@ -18,19 +18,14 @@ FONTS=		anorexia aqui cure cursor drift 
 		glisp-bold glisp kates lime mints-mild mints-strong \
 		nu smoothansi snap
 FONTDIR=	${LOCALBASE}/lib/X11/fonts/${PORTNAME}/
-FILES=		${FONTS:S,$,.pcf,} ${WRKSRC}/fonts.alias \
-		${WRKSRC}/fonts.cache-1 ${WRKSRC}/fonts.dir
+FILES=		${FONTS:S,$,.pcf,} fonts.alias fonts.cache-1 fonts.dir
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 do-install:
-	@${MKDIR} ${FONTDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${FILES} ${FONTDIR}
-
-post-install:
-	@${SED} 's|$${LOCALBASE}|${LOCALBASE}|g' \
-		${PKGDIR}/pkg-message >${PKGMESSAGE}
-	@${CAT} ${PKGMESSAGE}
+	@${MKDIR} ${STAGEDIR}${FONTDIR}
+.for f in ${FILES}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${FONTDIR}
+.endfor
 
 .include <bsd.port.post.mk>

Copied and modified: head/x11-fonts/artwiz-aleczapka/files/pkg-message.in (from r332291, head/x11-fonts/artwiz-aleczapka/pkg-message)
==============================================================================
--- head/x11-fonts/artwiz-aleczapka/pkg-message	Thu Oct 31 22:33:37 2013	(r332291, copy source)
+++ head/x11-fonts/artwiz-aleczapka/files/pkg-message.in	Thu Oct 31 23:55:01 2013	(r332331)
@@ -6,6 +6,6 @@
 
  Add the following line to the "Files" section and restart XFree86.
 
- FontPath "${LOCALBASE}/lib/X11/fonts/artwiz-aleczapka-en"
+ FontPath "%%LOCALBASE%%/lib/X11/fonts/artwiz-aleczapka-en"
 
 ------------------------------------------------------------------



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