diff options
author | tron <tron@pkgsrc.org> | 2001-07-06 21:23:17 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2001-07-06 21:23:17 +0000 |
commit | 715892a4c2ebf01e20462899743aa46eaa58101e (patch) | |
tree | 25d51b334e85f92a0bf9a921c160c2b555b1d3a7 /time/asclock | |
parent | 6991e5038bce3d27ce1599e554171f3456b2cdf4 (diff) | |
download | pkgsrc-715892a4c2ebf01e20462899743aa46eaa58101e.tar.gz |
Fix manual page installation under Solaris.
Diffstat (limited to 'time/asclock')
-rw-r--r-- | time/asclock/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/time/asclock/Makefile b/time/asclock/Makefile index 4db770bf812..1e270bd1b81 100644 --- a/time/asclock/Makefile +++ b/time/asclock/Makefile @@ -1,5 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2001/07/06 21:14:56 tron Exp $ -# +# $NetBSD: Makefile,v 1.4 2001/07/06 21:23:17 tron Exp $ DISTNAME= asclock-classic-1.0 PKGNAME= asclock-1.0 @@ -18,6 +17,8 @@ LANGUAGES= en de pt nl no it sv es hu br fr cs ru uk sl id da WRKSRC= ${WRKDIR}/asclock1.0 PLIST_SRC= ${WRKDIR}/.PLIST_SRC +.include "../../mk/bsd.prefs.mk" + # Translate to two-letter abbreviations in /usr/share/misc/language. # post-extract: @@ -50,7 +51,11 @@ do-install: ${FILESDIR}/asclock.sh > ${WRKDIR}/asclock.sh ${INSTALL_SCRIPT} ${WRKDIR}/asclock.sh ${PREFIX}/bin/asclock ${INSTALL_PROGRAM} ${WRKSRC}/asclock ${PREFIX}/libexec/asclock-classic +.if (${OPSYS} == SunOS) + ${INSTALL_DATA} ${WRKSRC}/asclock.man ${PREFIX}/man/man1/asclock.1 +.else ${INSTALL_DATA} ${WRKSRC}/asclock.0 ${PREFIX}/man/cat1/asclock.0 +.endif ${INSTALL_DATA_DIR} ${PREFIX}/share/asclock-classic ${CAT} ${PKGDIR}/PLIST > ${PLIST_SRC} .for LANGUAGE in ${LANGUAGES} |