aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2014-05-19 13:49:14 +0000
committerXin LI <delphij@FreeBSD.org>2014-05-19 13:49:14 +0000
commit84c0d57c2caf9626b987f987456ea52ed836e807 (patch)
tree652e31e0a6006755e10f02272785196ff5c2feef /chinese
parentd40d27aa648b358e3ff1d132b3924486625f0b3a (diff)
downloadports-84c0d57c2caf9626b987f987456ea52ed836e807.tar.gz
ports-84c0d57c2caf9626b987f987456ea52ed836e807.zip
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/docproj/Makefile8
-rw-r--r--chinese/docproj/pkg-plist1
-rw-r--r--chinese/docproj/src/cjktexsty/Makefile7
3 files changed, 10 insertions, 6 deletions
diff --git a/chinese/docproj/Makefile b/chinese/docproj/Makefile
index e734fcd55515..60986292756d 100644
--- a/chinese/docproj/Makefile
+++ b/chinese/docproj/Makefile
@@ -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@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}
diff --git a/chinese/docproj/pkg-plist b/chinese/docproj/pkg-plist
deleted file mode 100644
index a0537539b7aa..000000000000
--- a/chinese/docproj/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-bin/cjktexsty
diff --git a/chinese/docproj/src/cjktexsty/Makefile b/chinese/docproj/src/cjktexsty/Makefile
index 3f00788744d7..32f184e1c687 100644
--- a/chinese/docproj/src/cjktexsty/Makefile
+++ b/chinese/docproj/src/cjktexsty/Makefile
@@ -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=