diff options
author | adamw <adamw@FreeBSD.org> | 2014-07-04 08:13:33 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-07-04 08:13:33 +0800 |
commit | e02bbc43a532c44d6c92fc80d5c06556e43667df (patch) | |
tree | b7d050f27d2fb9eb12fd88721f0461eb8f6c8242 /japanese | |
parent | ca35d6e203ab5dc35e3574ebdb57b3badd1bfa95 (diff) | |
download | freebsd-ports-gnome-e02bbc43a532c44d6c92fc80d5c06556e43667df.tar.gz freebsd-ports-gnome-e02bbc43a532c44d6c92fc80d5c06556e43667df.tar.zst freebsd-ports-gnome-e02bbc43a532c44d6c92fc80d5c06556e43667df.zip |
Remove NOPORTDOCS and NOPORTEXAMPLES.
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/asterisk-sounds/Makefile | 4 | ||||
-rw-r--r-- | japanese/cmigemo/Makefile | 6 | ||||
-rw-r--r-- | japanese/ming/Makefile | 4 |
3 files changed, 9 insertions, 5 deletions
diff --git a/japanese/asterisk-sounds/Makefile b/japanese/asterisk-sounds/Makefile index 29957241dfae..97d279d7ab14 100644 --- a/japanese/asterisk-sounds/Makefile +++ b/japanese/asterisk-sounds/Makefile @@ -22,6 +22,8 @@ DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} SUB_FILES= pkg-message SUB_LIST= PORTSDIR=${PORTSDIR} +OPTIONS_DEFINE= DOCS + do-install: @-${MKDIR} ${STAGEDIR}${ASTERISKDIR}/ja for gsm in ${WRKDIR}/ja/*.gsm; do \ @@ -31,9 +33,7 @@ do-install: for digitgsm in ${WRKDIR}/ja/digits/*.gsm; do \ ${INSTALL_DATA} "$$digitgsm" ${STAGEDIR}${ASTERISKDIR}/ja/digits ; \ done -.if !defined(NOPORTDOCS) @${MKDIR} ${STAGEDIR}${DOCSDIR}/ja @cd ${WRKDIR}/ja && ${INSTALL_DATA} README.txt ${STAGEDIR}${DOCSDIR}/ja -.endif .include <bsd.port.mk> diff --git a/japanese/cmigemo/Makefile b/japanese/cmigemo/Makefile index f00a97710d59..05defa82ac24 100644 --- a/japanese/cmigemo/Makefile +++ b/japanese/cmigemo/Makefile @@ -24,8 +24,10 @@ INSTALL_TARGET= gcc-install DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME} PORTDOCS= README_j.txt + .endif +OPTIONS_DEFINE+=DOCS USES+= iconv:build,wchar_t gmake zip HAS_CONFIGURE= yes @@ -33,7 +35,9 @@ CONFIGURE_ARGS= --prefix=${STAGEDIR}${PREFIX} WRKSRC= ${WRKDIR}/${PORTNAME}-default-src -.if !defined(MASTERDIR) && !defined(NOPORTDOCS) +.include <bsd.port.options.mk> + +.if !defined(MASTERDIR) && ${PORT_OPTIONS:MDOCS} INSTALL_TARGET+=gcc-install-doc .endif diff --git a/japanese/ming/Makefile b/japanese/ming/Makefile index cdd230811df6..4dfb9ca03f28 100644 --- a/japanese/ming/Makefile +++ b/japanese/ming/Makefile @@ -37,6 +37,8 @@ DOCS= CHANGES \ DOCS_UTIL= README \ TODO +OPTIONS_DEFINE= DOCS + post-extract: ${SED} -e 's:"\.\./\.\./ming\.h":<ming.h>:g' \ ${WRKSRC}/ming.h > ${WRKSRC}/mingpp.h @@ -74,7 +76,6 @@ post-install: .for f in ${UTILS} ${INSTALL_PROGRAM} ${WRKSRC}/../util/${f} ${STAGEDIR}${PREFIX}/bin/ .endfor -.if !defined(NOPORTDOCS) ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ming/utils .for f in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/../${f} ${STAGEDIR}${PREFIX}/share/doc/ming/ @@ -82,6 +83,5 @@ post-install: .for f in ${DOCS_UTIL} ${INSTALL_DATA} ${WRKSRC}/../util/${f} ${STAGEDIR}${PREFIX}/share/doc/ming/utils/ .endfor -.endif .include <bsd.port.mk> |