diff options
Diffstat (limited to 'x11-wm/wmanager')
-rw-r--r-- | x11-wm/wmanager/Makefile | 5 | ||||
-rw-r--r-- | x11-wm/wmanager/files/pkg-message.in | 4 | ||||
-rw-r--r-- | x11-wm/wmanager/pkg-message | 4 |
3 files changed, 7 insertions, 6 deletions
diff --git a/x11-wm/wmanager/Makefile b/x11-wm/wmanager/Makefile index 56c87d54655b..4ef0e18c1100 100644 --- a/x11-wm/wmanager/Makefile +++ b/x11-wm/wmanager/Makefile @@ -19,6 +19,8 @@ LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +PKGMESSAGE= ${WRKDIR}/pkg-message + USE_XORG= x11 xext USE_GL= gl USE_GMAKE= yes @@ -37,6 +39,7 @@ RUN_DEPENDS+= wmanager-loop:${PORTSDIR}/x11-wm/wmanager-addons do-install: ${INSTALL_PROGRAM} ${WRKSRC}/wmanager ${PREFIX}/bin .if !defined(NOPORTDOCS) + ${SED} -e "s@%%DOCSDIR%%@${DOCSDIR}@; s@%%EXAMPLESDIR%%@${EXAMPLESDIR}@" ${FILESDIR}/pkg-message.in > ${PKGMESSAGE} @${MKDIR} ${DOCSDIR} .for file in FAQ HISTORY INSTALL NEWS README TODO ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} @@ -44,6 +47,8 @@ do-install: @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/.wmanagerrc ${EXAMPLESDIR}/wmanagerrc_sample ${INSTALL_DATA} ${WRKSRC}/.xinitrc ${EXAMPLESDIR}/xinitrc_sample +.else + ${RM} -f ${PKGMESSAGE} .endif .include <bsd.port.post.mk> diff --git a/x11-wm/wmanager/files/pkg-message.in b/x11-wm/wmanager/files/pkg-message.in index 427e446625ae..cfcbdd901146 100644 --- a/x11-wm/wmanager/files/pkg-message.in +++ b/x11-wm/wmanager/files/pkg-message.in @@ -1,4 +1,4 @@ -Documentation has been installed in /usr/local/share/doc/wmanager/ and -example files in /usr/local/share/examples/wmanager/ +Documentation has been installed in %%DOCSDIR%%/ and +example files in %%EXAMPLESDIR%%/ You are advised to have a look at the sample .wmanagerrc and .xinitrc files available there. diff --git a/x11-wm/wmanager/pkg-message b/x11-wm/wmanager/pkg-message deleted file mode 100644 index 427e446625ae..000000000000 --- a/x11-wm/wmanager/pkg-message +++ /dev/null @@ -1,4 +0,0 @@ -Documentation has been installed in /usr/local/share/doc/wmanager/ and -example files in /usr/local/share/examples/wmanager/ -You are advised to have a look at the sample .wmanagerrc -and .xinitrc files available there. |