diff options
author | itetcu <itetcu@FreeBSD.org> | 2009-04-08 17:22:14 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2009-04-08 17:22:14 +0800 |
commit | daade3d0949306550cd31a411fe60a5f31559577 (patch) | |
tree | 7da732c6db188daae729b1700665a1b7ee30d8c1 | |
parent | 13dcb0032763a995da8dcce7a635f76d96c60dd0 (diff) | |
download | freebsd-ports-gnome-daade3d0949306550cd31a411fe60a5f31559577.tar.gz freebsd-ports-gnome-daade3d0949306550cd31a411fe60a5f31559577.tar.zst freebsd-ports-gnome-daade3d0949306550cd31a411fe60a5f31559577.zip |
Fix plist with -DNOPORT*.
Prompted by: QAT QA run
Approved by: maintainer timeout on QATMail
-rw-r--r-- | x11-toolkits/termit/Makefile | 9 | ||||
-rw-r--r-- | x11-toolkits/termit/pkg-plist | 5 | ||||
-rw-r--r-- | x11-toolkits/termit/pkg-plist.DOC | 4 |
3 files changed, 7 insertions, 11 deletions
diff --git a/x11-toolkits/termit/Makefile b/x11-toolkits/termit/Makefile index d1b1d9e06876..9ece42a02162 100644 --- a/x11-toolkits/termit/Makefile +++ b/x11-toolkits/termit/Makefile @@ -33,18 +33,13 @@ CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif -PLIST= ${WRKDIR}/PLIST.DYN - do-build: @(cd ${BUILD_WRKSRC}; \ cmake ${CMAKE_ARGS} .; \ ${MAKE}) -pre-install: - @${CP} ${PKGDIR}/pkg-plist ${WRKDIR}/PLIST.DYN -.if !defined(NOPORSDOCS) - @${CAT} ${PKGDIR}/pkg-plist.DOC >> ${WRKDIR}/PLIST.DYN -.else +post-patch: +.ifdef NOPORTDOCS @${REINPLACE_CMD} -e '1,3 d' ${WRKSRC}/doc/CMakeLists.txt .endif diff --git a/x11-toolkits/termit/pkg-plist b/x11-toolkits/termit/pkg-plist index b5b0c03bd614..67fff5ca0976 100644 --- a/x11-toolkits/termit/pkg-plist +++ b/x11-toolkits/termit/pkg-plist @@ -5,3 +5,8 @@ bin/termit %%NLS%%share/locale/zh_TW/LC_MESSAGES/termit.mo share/applications/termit.desktop @dirrmtry share/applications +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/termit.example +%%PORTDOCS%%%%DOCSDIR%%/session.example +%%PORTDOCS%%@dirrm %%DOCSDIR%% + diff --git a/x11-toolkits/termit/pkg-plist.DOC b/x11-toolkits/termit/pkg-plist.DOC deleted file mode 100644 index 9421b619c357..000000000000 --- a/x11-toolkits/termit/pkg-plist.DOC +++ /dev/null @@ -1,4 +0,0 @@ -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/termit.example -%%PORTDOCS%%%%DOCSDIR%%/session.example -%%PORTDOCS%%@dirrm %%DOCSDIR%% |