svn commit: r354540 - in head/chinese/docproj: . src/cjktexsty
Xin LI
delphij at FreeBSD.org
Mon May 19 13:49:15 UTC 2014
Author: delphij
Date: Mon May 19 13:49:14 2014
New Revision: 354540
URL: http://svnweb.freebsd.org/changeset/ports/354540
QAT: https://qat.redports.org/buildarchive/r354540/
Log:
Staging support, LICENSE, and remove pkg-plist in favor of PLIST_FILES.
Deleted:
head/chinese/docproj/pkg-plist
Modified:
head/chinese/docproj/Makefile
head/chinese/docproj/src/cjktexsty/Makefile
Modified: head/chinese/docproj/Makefile
==============================================================================
--- head/chinese/docproj/Makefile Mon May 19 13:40:12 2014 (r354539)
+++ head/chinese/docproj/Makefile Mon May 19 13:49:14 2014 (r354540)
@@ -3,7 +3,7 @@
PORTNAME= docproj
PORTVERSION= 0.1.20060303
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= chinese
MASTER_SITES= # none
DISTFILES= # none
@@ -14,6 +14,8 @@ DISTFILES= # none
MAINTAINER= delphij at FreeBSD.org
COMMENT= Supportive tools for Chinese docproj build
+LICENSE= BSD2CLAUSE
+
RUN_DEPENDS= gbklatex:${PORTSDIR}/print/latex-cjk
USES= iconv
@@ -21,8 +23,10 @@ USES= iconv
WRKSRC= ${WRKDIR}/src
SRC= ${.CURDIR}/src
+MAKE_ARGS+= PREFIX=${PREFIX} LOCALBASE=${LOCALBASE}
+
+PLIST_FILES= bin/cjktexsty
-NO_STAGE= yes
do-fetch:
@${DO_NADA}
Modified: head/chinese/docproj/src/cjktexsty/Makefile
==============================================================================
--- head/chinese/docproj/src/cjktexsty/Makefile Mon May 19 13:40:12 2014 (r354539)
+++ head/chinese/docproj/src/cjktexsty/Makefile Mon May 19 13:49:14 2014 (r354540)
@@ -4,9 +4,10 @@ PROG= cjktexsty
SRCS= cjktexsty.l
PREFIX?= /usr/local
-BINDIR= ${PREFIX}/bin
-CFLAGS+=-I${PREFIX}/include
-LDADD= -L${PREFIX}/lib -liconv
+LOCALBASE?= ${PREFIX}
+BINDIR= ${PREFIX}/bin
+CFLAGS+= -I${LOCALBASE}/include
+LDADD= -L${LOCALBASE}/lib -liconv
NO_MAN=
NOMAN=
More information about the svn-ports-all
mailing list