aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2014-05-19 21:49:14 +0800
committerdelphij <delphij@FreeBSD.org>2014-05-19 21:49:14 +0800
commit8936ce497af20d531e9355fd2907075b915215b9 (patch)
tree652e31e0a6006755e10f02272785196ff5c2feef
parentf93f52dddf9596a9fe0da364d548b44e7cb2c138 (diff)
downloadfreebsd-ports-graphics-8936ce497af20d531e9355fd2907075b915215b9.tar.gz
freebsd-ports-graphics-8936ce497af20d531e9355fd2907075b915215b9.tar.zst
freebsd-ports-graphics-8936ce497af20d531e9355fd2907075b915215b9.zip
Staging support, LICENSE, and remove pkg-plist in favor of PLIST_FILES.
-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 e734fcd5551..60986292756 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 a0537539b7a..00000000000
--- 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 3f00788744d..32f184e1c68 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=