svn commit: r340721 - in head/textproc/clit: . files
Mathieu Arnold
mat at FreeBSD.org
Wed Jan 22 16:23:14 UTC 2014
Author: mat
Date: Wed Jan 22 16:23:13 2014
New Revision: 340721
URL: http://svnweb.freebsd.org/changeset/ports/340721
QAT: https://qat.redports.org/buildarchive/r340721/
Log:
* Support staging
* Use dos2unix
Sponsored by: Absolight
Modified:
head/textproc/clit/Makefile
head/textproc/clit/files/patch-clit_Makefile
Modified: head/textproc/clit/Makefile
==============================================================================
--- head/textproc/clit/Makefile Wed Jan 22 16:21:10 2014 (r340720)
+++ head/textproc/clit/Makefile Wed Jan 22 16:23:13 2014 (r340721)
@@ -22,17 +22,13 @@ MIN_VER= 8
PLIST_FILES= bin/clit
+USES= dos2unix gmake
USE_ZIP= yes
-USE_GMAKE= yes
-NO_STAGE= yes
post-extract:
cd ${WRKDIR} && ${BZIP2_CMD} -dc "${DISTDIR}/ltm-0.33.tar.bz2" | \
${TAR} -xf -
-post-patch:
- @${FIND} ${WRKDIR} -name *.c -or -name *.h | ${XARGS} ${REINPLACE_CMD} -e 's|
||'
-
do-build:
cd ${WRKDIR}/libtommath-0.33 && \
${SETENV} ${MAKE_ENV} ${MAKE} -f makefile libtommath.a
@@ -42,6 +38,6 @@ do-build:
do-install:
@${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME}${MAJ_VER}${MIN_VER}/clit \
- ${LOCALBASE}/bin
+ ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
Modified: head/textproc/clit/files/patch-clit_Makefile
==============================================================================
--- head/textproc/clit/files/patch-clit_Makefile Wed Jan 22 16:21:10 2014 (r340720)
+++ head/textproc/clit/files/patch-clit_Makefile Wed Jan 22 16:23:13 2014 (r340721)
@@ -1,14 +1,14 @@
--- Makefile.orig Sun Jul 4 16:52:14 2004
+++ Makefile Fri Jan 14 21:56:45 2005
@@ -1,9 +1,9 @@
- all: clit
-
--CFLAGS=-funsigned-char -Wall -O2 -I ../libtommath-0.30/ -I ../lib -I ../lib/des -I .
-+CFLAGS=-funsigned-char -Wall -O2 -I ../libtommath-0.33/ -I ../lib -I ../lib/des -I .
- clean:
- rm -f *.o clit
-
- clit: clit.o hexdump.o drm5.o explode.o transmute.o display.o utils.o manifest.o ../lib/openclit.a
-- gcc -o clit $^ ../libtommath-0.30/libtommath.a
-+ gcc -o clit $^ ../libtommath-0.33/libtommath.a
-
+ all: clit
+
+-CFLAGS=-funsigned-char -Wall -O2 -I ../libtommath-0.30/ -I ../lib -I ../lib/des -I .
++CFLAGS=-funsigned-char -Wall -O2 -I ../libtommath-0.33/ -I ../lib -I ../lib/des -I .
+ clean:
+ rm -f *.o clit
+
+ clit: clit.o hexdump.o drm5.o explode.o transmute.o display.o utils.o manifest.o ../lib/openclit.a
+- gcc -o clit $^ ../libtommath-0.30/libtommath.a
++ ${CC} -o clit $^ ../libtommath-0.33/libtommath.a
+
More information about the svn-ports-all
mailing list