1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Add staging support

- Use canonical name for patch
This commit is contained in:
Pawel Pekala 2014-05-30 14:22:02 +00:00
parent 28d88754c8
commit b94e42c0e7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355846
2 changed files with 3 additions and 8 deletions

View File

@ -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>

View File

@ -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