diff --git a/mail/clawsker/Makefile b/mail/clawsker/Makefile index 5439d484fb85..2d1c317b1ad8 100644 --- a/mail/clawsker/Makefile +++ b/mail/clawsker/Makefile @@ -18,7 +18,6 @@ RUN_DEPENDS= claws-mail>=3.9.1:${PORTSDIR}/mail/claws-mail \ USES= shebangfix perl5 SHEBANG_FILES= ${PORTNAME} -MAN1= clawsker.1 PORTDOCS= NEWS README OPTIONS_DEFINE= DOCS NLS @@ -26,7 +25,6 @@ OPTIONS_SUB= yes NLS_USES= gettext -NO_STAGE= yes .include post-patch: @@ -36,10 +34,7 @@ post-patch: .endif post-install: -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|g} ${STAGEDIR}${DOCSDIR} .include diff --git a/mail/clawsker/pkg-plist b/mail/clawsker/pkg-plist index 0259db0d4128..95b1edc74c13 100644 --- a/mail/clawsker/pkg-plist +++ b/mail/clawsker/pkg-plist @@ -1,4 +1,5 @@ bin/clawsker +man/man1/clawsker.1.gz %%NLS%%share/locale/fr/LC_MESSAGES/clawsker.mo %%NLS%%share/locale/es/LC_MESSAGES/clawsker.mo %%NLS%%share/locale/id/LC_MESSAGES/clawsker.mo diff --git a/mail/libetpan/Makefile b/mail/libetpan/Makefile index 01f8540d8fda..1e64426955bc 100644 --- a/mail/libetpan/Makefile +++ b/mail/libetpan/Makefile @@ -37,7 +37,6 @@ IPV6_CONFIGURE_ENABLE= ipv6 OPENSSL_CONFIGURE_ON= --without-gnutls -NO_STAGE= yes .include .if ${PORT_OPTIONS:MOPENSSL} diff --git a/multimedia/smtube/Makefile b/multimedia/smtube/Makefile index 5b7cc7427a20..8643355d56f3 100644 --- a/multimedia/smtube/Makefile +++ b/multimedia/smtube/Makefile @@ -22,22 +22,13 @@ PORTDOCS= * OPTIONS_DEFINE= DOCS -NO_STAGE= yes -.include - post-patch: @${REINPLACE_CMD} -e 's|qmake|${QMAKE} ${QMAKEFLAGS}|' \ -e 's|lrelease|${QT_PREFIX}/bin/lrelease-qt4|g' \ -e 's|PREFIX=/usr/local|PREFIX=${PREFIX}|g' \ -e 's|$$(PREFIX)/share/smtube|${DATADIR}|g' \ + -e 's|$$(PREFIX)/share/doc/smtube|${DOCSDIR}|' \ -e 's| make| ${GMAKE}|' \ ${WRKSRC}/Makefile -.if ${PORT_OPTIONS:MDOCS} - @${REINPLACE_CMD} -e 's|$$(PREFIX)/share/doc/smtube|${DOCSDIR}|' \ - ${WRKSRC}/Makefile -.else - @${REINPLACE_CMD} -e '/DOC_PATH/d' ${WRKSRC}/Makefile -.endif - .include diff --git a/polish/ekg/Makefile b/polish/ekg/Makefile index 3aadeec2fa40..cc1fe75c29e1 100644 --- a/polish/ekg/Makefile +++ b/polish/ekg/Makefile @@ -25,10 +25,6 @@ CONFIGURE_ARGS= --without-libungif \ CFLAGS+= -I/usr/include -I${LOCALBASE}/include LDFLAGS+= -L/usr/lib -lncurses -L${LOCALBASE}/lib -lexecinfo -pthread -MAN1= ekg.1 -MANLANG= "" pl -MANCOMPRESSED= no - OPTIONS_DEFINE= ASPELL OPENSSL OPTIONS_DEFAULT= OPENSSL @@ -37,8 +33,7 @@ ASPELL_LIB_DEPENDS= libaspell.so:${PORTSDIR}/polish/aspell OPENSSL_CONFIGURE_OFF= --without-openssl -NO_STAGE= yes post-install: - ${STRIP_CMD} ${PREFIX}/bin/ekg + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ekg .include diff --git a/polish/ekg/pkg-plist b/polish/ekg/pkg-plist index d95115eeb9e5..d2e11bead048 100644 --- a/polish/ekg/pkg-plist +++ b/polish/ekg/pkg-plist @@ -1,4 +1,6 @@ bin/ekg +man/man1/ekg.1.gz +man/pl/man1/ekg.1.gz %%DATADIR%%/themes/arim.theme %%DATADIR%%/themes/dj.theme %%DATADIR%%/themes/eileen.theme diff --git a/polish/ekg2/Makefile b/polish/ekg2/Makefile index 4b65dab87bfc..89edf53289ab 100644 --- a/polish/ekg2/Makefile +++ b/polish/ekg2/Makefile @@ -87,7 +87,6 @@ XOSD_CONFIGURE_ON= --with-libxosd XOSD_CONFIGURE_OFF= --without-libxosd XOSD_LIB_DEPENDS= libxosd.so:${PORTSDIR}/misc/xosd -NO_STAGE= yes .include .if ${PORT_OPTIONS:MGTK2} diff --git a/polish/qnapi/Makefile b/polish/qnapi/Makefile index 52516add3e6f..936c7e974a95 100644 --- a/polish/qnapi/Makefile +++ b/polish/qnapi/Makefile @@ -16,18 +16,14 @@ RUN_DEPENDS= 7z:${PORTSDIR}/archivers/p7zip USE_QT4= corelib gui network xml qmake_build moc_build uic_build rcc_build USE_KDE4= kdehier -QMAKE_ARGS= PREFIX=${PREFIX} KDE4_PREFIX=${KDE4_PREFIX} +PLIST_SUB= KDE4=${KDE4_PREFIX:S|${LOCALBASE}/||} +QMAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} KDE4_PREFIX=${STAGEDIR}${KDE4_PREFIX} INSTALLS_ICONS= yes -MAN1= qnapi.1 -MANCOMPRESSED= yes PORTDOCS= ChangeLog README.pl COPYRIGHT OPTIONS_DEFINE= DOCS -NO_STAGE= yes -.include - post-patch: @${REINPLACE_CMD} 's|/usr/share/icons/||g' \ ${WRKSRC}/doc/qnapi.desktop \ @@ -38,11 +34,7 @@ pre-build: @cd ${WRKSRC} && ${QMAKE} -spec ${QMAKESPEC} ${QMAKEFLAGS} ${QMAKE_ARGS} post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} -.for file in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR} -.endfor -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|g} ${STAGEDIR}${DOCSDIR} .include diff --git a/polish/qnapi/pkg-plist b/polish/qnapi/pkg-plist index 54016f01c188..fa637fbd4650 100644 --- a/polish/qnapi/pkg-plist +++ b/polish/qnapi/pkg-plist @@ -1,14 +1,14 @@ bin/qnapi -share/icons/qnapi.png -share/icons/qnapi-48.png -share/icons/qnapi-128.png -share/icons/qnapi-512.png +%%KDE4%%/share/kde4/services/ServiceMenus/qnapi-download.desktop +man/man1/qnapi.1.gz share/applications/qnapi.desktop share/apps/konqueror/servicemenus/qnapi-download.desktop +share/icons/qnapi-128.png +share/icons/qnapi-48.png +share/icons/qnapi-512.png +share/icons/qnapi.png +@dirrmtry share/icons @dirrmtry share/apps/konqueror/servicemenus @dirrmtry share/apps/konqueror @dirrmtry share/apps @dirrmtry share/applications -@dirrmtry share/icons -@cwd %%KDE4_PREFIX%% -share/kde4/services/ServiceMenus/qnapi-download.desktop diff --git a/sysutils/gsmartcontrol/Makefile b/sysutils/gsmartcontrol/Makefile index 59a00c0e8e6b..5deaa427af8d 100644 --- a/sysutils/gsmartcontrol/Makefile +++ b/sysutils/gsmartcontrol/Makefile @@ -3,7 +3,7 @@ PORTNAME= gsmartcontrol PORTVERSION= 0.8.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= http://artificialtime.com/${PORTNAME}/ @@ -19,18 +19,8 @@ USE_AUTOTOOLS= libtool USES= pkgconfig INSTALLS_ICONS= yes -MAN1= gsmartcontrol.1 - CONFIGURE_ARGS= --disable-libglade OPTIONS_DEFINE= DOCS -NO_STAGE= yes -.include - -post-patch: -.if !${PORT_OPTIONS:MDOCS} -EXTRA_PATCHES+= ${PATCHDIR}/extra-Makefile.in -.endif - .include diff --git a/sysutils/gsmartcontrol/files/extra-Makefile.in b/sysutils/gsmartcontrol/files/extra-Makefile.in deleted file mode 100644 index 07e62798e241..000000000000 --- a/sysutils/gsmartcontrol/files/extra-Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in.orig 2011-10-02 22:15:43.000000000 +0200 -+++ Makefile.in 2011-10-02 22:16:06.000000000 +0200 -@@ -745,7 +745,7 @@ - uninstall: uninstall-recursive - - install-am: all-am -- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am - - installcheck: installcheck-recursive - install-strip: diff --git a/sysutils/gsmartcontrol/files/patch-data_Makefile.in b/sysutils/gsmartcontrol/files/patch-data_Makefile.in deleted file mode 100644 index a4e3ffa4b66b..000000000000 --- a/sysutils/gsmartcontrol/files/patch-data_Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- ./data/Makefile.in.orig 2009-03-26 11:27:18.000000000 +0100 -+++ data/Makefile.in 2009-03-26 11:27:35.000000000 +0100 -@@ -686,7 +686,7 @@ - uninstall-extra-mans: - cd $(DESTDIR)$(mandir)/man1 && rm -f gsmartcontrol-root.1 - --install-data-hook: install-extra-mans update-icon-cache -+install-data-hook: update-icon-cache - uninstall-hook: uninstall-extra-mans update-icon-cache - - update-icon-cache: diff --git a/sysutils/gsmartcontrol/pkg-plist b/sysutils/gsmartcontrol/pkg-plist index e5c0ea7de594..745258308429 100644 --- a/sysutils/gsmartcontrol/pkg-plist +++ b/sysutils/gsmartcontrol/pkg-plist @@ -1,5 +1,7 @@ bin/gsmartcontrol bin/gsmartcontrol-root +man/man1/gsmartcontrol.1.gz +man/man1/gsmartcontrol-root.1.gz share/applications/gsmartcontrol.desktop %%PORTDOCS%%%%DOCSDIR%%/AUTHORS.txt %%PORTDOCS%%%%DOCSDIR%%/ChangeLog diff --git a/sysutils/lookat/Makefile b/sysutils/lookat/Makefile index b4f814e69678..d9f78aea3d19 100644 --- a/sysutils/lookat/Makefile +++ b/sysutils/lookat/Makefile @@ -14,29 +14,20 @@ FETCH_ARGS= -Fpr GNU_CONFIGURE= yes USES= gmake -MAN1= lookat.1 +PORTDOCS= README OPTIONS_DEFINE= DOCS -NO_STAGE= yes -.include - post-patch: @${REINPLACE_CMD} 's|/etc/lookat.conf|${PREFIX}&|g' \ ${WRKSRC}/${PORTNAME}.1 do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/lookat ${PREFIX}/bin - @${INSTALL_MAN} ${WRKSRC}/lookat.1 ${PREFIX}/man/man1 - @${INSTALL_DATA} ${WRKSRC}/lookat.conf.default \ - ${PREFIX}/etc/lookat.conf.sample - @if [ ! -f ${PREFIX}/etc/lookat.conf ]; then \ - ${CP} -p ${PREFIX}/etc/lookat.conf.sample ${PREFIX}/etc/lookat.conf ; \ - fi - -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/lookat ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/lookat.1 ${STAGEDIR}${PREFIX}/man/man1 + ${INSTALL_DATA} ${WRKSRC}/lookat.conf.default \ + ${STAGEDIR}${PREFIX}/etc/lookat.conf.sample + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/sysutils/lookat/pkg-plist b/sysutils/lookat/pkg-plist index d60d81c42c11..c92852b0cd49 100644 --- a/sysutils/lookat/pkg-plist +++ b/sysutils/lookat/pkg-plist @@ -2,5 +2,4 @@ bin/lookat @unexec if cmp -s %D/etc/lookat.conf.sample %D/etc/lookat.conf; then rm -f %D/etc/lookat.conf; fi etc/lookat.conf.sample @exec if [ ! -f %D/etc/lookat.conf ] ; then cp -p %D/%F %B/lookat.conf; fi -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%@dirrm %%DOCSDIR%% +man/man1/lookat.1.gz diff --git a/sysutils/ncdu/Makefile b/sysutils/ncdu/Makefile index acea8cc37eca..2eac7473e503 100644 --- a/sysutils/ncdu/Makefile +++ b/sysutils/ncdu/Makefile @@ -12,8 +12,7 @@ COMMENT= Ncurses du(1) LICENSE= MIT GNU_CONFIGURE= yes -PLIST_FILES= bin/${PORTNAME} -MAN1= ${PORTNAME}.1 +PLIST_FILES= bin/${PORTNAME} \ + man/man1/${PORTNAME}.1.gz -NO_STAGE= yes .include diff --git a/x11-fonts/freefont-ttf/Makefile b/x11-fonts/freefont-ttf/Makefile index ece0334dbb95..bac3f580c5a9 100644 --- a/x11-fonts/freefont-ttf/Makefile +++ b/x11-fonts/freefont-ttf/Makefile @@ -18,24 +18,19 @@ LICENSE= GPLv3 USE_ZIP= yes WRKSRC= ${WRKDIR}/freefont-${PORTVERSION} -INSTALLDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME} +INSTALLDIR= ${STAGEDIR}${PREFIX}/lib/X11/fonts/${PORTNAME} PORTDOCS= AUTHORS ChangeLog CREDITS README OPTIONS_DEFINE= DOCS -NO_STAGE= yes -.include - do-build: cd ${WRKSRC} && ${LOCALBASE}/bin/mkfontscale cd ${WRKSRC} && ${LOCALBASE}/bin/mkfontdir do-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif - ${MKDIR} ${INSTALLDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${INSTALLDIR} cd ${WRKSRC} && \ ${INSTALL_DATA} fonts.dir fonts.scale *.ttf ${INSTALLDIR} diff --git a/x11-themes/lxappearance/Makefile b/x11-themes/lxappearance/Makefile index 59383a45c5ec..32283f889bc3 100644 --- a/x11-themes/lxappearance/Makefile +++ b/x11-themes/lxappearance/Makefile @@ -16,8 +16,6 @@ GNU_CONFIGURE= yes USES= gmake pkgconfig USE_GNOME= gnomehack gtk20 intlhack -MAN1= lxappearance.1 - PORTDOCS= AUTHORS README OPTIONS_DEFINE= DOCS NLS @@ -25,7 +23,6 @@ OPTIONS_SUB= yes NLS_USES= gettext -NO_STAGE= yes .include post-patch: @@ -35,9 +32,7 @@ post-patch: .endif post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/x11-themes/lxappearance/pkg-plist b/x11-themes/lxappearance/pkg-plist index 1733cb7517c1..6d4e2268683f 100644 --- a/x11-themes/lxappearance/pkg-plist +++ b/x11-themes/lxappearance/pkg-plist @@ -1,6 +1,7 @@ bin/lxappearance include/lxappearance/lxappearance.h libdata/pkgconfig/lxappearance.pc +man/man1/lxappearance.1.gz share/applications/lxappearance.desktop %%NLS%%share/locale/ar/LC_MESSAGES/lxappearance.mo %%NLS%%share/locale/be/LC_MESSAGES/lxappearance.mo diff --git a/x11-toolkits/c++-gtk-utils/Makefile b/x11-toolkits/c++-gtk-utils/Makefile index b161d806464d..e950d7c793bb 100644 --- a/x11-toolkits/c++-gtk-utils/Makefile +++ b/x11-toolkits/c++-gtk-utils/Makefile @@ -28,13 +28,4 @@ OPTIONS_DEFINE= DEBUG DOCS DEBUG_CONFIGURE_ON= --enable-debug -NO_STAGE= yes -.include - -post-configure: -.if ! ${PORT_OPTIONS:MDOCS} - @${REINPLACE_CMD} '/^SUBDIRS/ s|docs|| ; /^pkgdoc_DATA/d' \ - ${WRKSRC}/Makefile -.endif - .include diff --git a/x11-toolkits/termit/Makefile b/x11-toolkits/termit/Makefile index 49a59d098f93..0a21dcb6f5cb 100644 --- a/x11-toolkits/termit/Makefile +++ b/x11-toolkits/termit/Makefile @@ -19,9 +19,7 @@ USE_GNOME= gdkpixbuf2 vte CFLAGS+= -I${LOCALBASE}/include/vte-0.0 -MAN1= ${PORTNAME}.1 - -TERMIT_ETC= ${PREFIX}/etc/xdg/${PORTNAME} +TERMIT_ETC= ${STAGEDIR}${PREFIX}/etc/xdg/${PORTNAME} OPTIONS_DEFINE= DEBUG DOCS NLS OPTIONS_SUB= yes @@ -31,15 +29,9 @@ DEBUG_CMAKE_ON= -DDEBUG:BOOL=YES NLS_CMAKE_OFF= -DENABLE_NLS:BOOL=NO NLS_USES= gettext -NO_STAGE= yes .include post-patch: -.if ${PORT_OPTIONS:MDOCS} - @${REINPLACE_CMD} 's|../COPYING||' ${WRKSRC}/doc/CMakeLists.txt -.else - @${REINPLACE_CMD} '/TERMIT_DOCS/s|^|#|' ${WRKSRC}/doc/CMakeLists.txt -.endif @${REINPLACE_CMD} 's|share/man|man|' ${WRKSRC}/doc/CMakeLists.txt @${REINPLACE_CMD} 's|ADD_SUBDIRECTORY(etc)||' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} 's|/etc|${PREFIX}/etc|' ${WRKSRC}/src/lua_conf.c @@ -47,12 +39,9 @@ post-patch: ${WRKSRC}/src/CMakeLists.txt post-install: - ${MKDIR} ${TERMIT_ETC} + @${MKDIR} ${TERMIT_ETC} .for file in colormaps.lua rc.lua utils.lua ${CP} ${WRKSRC}/etc/termit/${file} ${TERMIT_ETC}/${file}.sample - @if [ ! -f ${TERMIT_ETC}/${file} ]; then \ - ${CP} -p ${TERMIT_ETC}/${file}.sample ${TERMIT_ETC}/${file}; \ - fi .endfor .include diff --git a/x11-toolkits/termit/pkg-plist b/x11-toolkits/termit/pkg-plist index b53b2bbe221b..66c63cec98fb 100644 --- a/x11-toolkits/termit/pkg-plist +++ b/x11-toolkits/termit/pkg-plist @@ -8,6 +8,7 @@ etc/xdg/termit/rc.lua.sample @unexec if cmp -s %D/etc/xdg/termit/utils.lua.sample %D/etc/xdg/termit/utils.lua; then rm -f %D/etc/xdg/termit/utils.lua; fi etc/xdg/termit/utils.lua.sample @exec if [ ! -f %D/etc/xdg/termit/utils.lua ] ; then cp -p %D/%F %B/utils.lua; fi +man/man1/termit.1.gz share/applications/termit.desktop %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/lua_api.txt