diff options
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/docproj/Makefile | 8 | ||||
-rw-r--r-- | chinese/docproj/pkg-plist | 1 | ||||
-rw-r--r-- | chinese/docproj/src/cjktexsty/Makefile | 7 |
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= |