Use variables instead of hardcoded references to binaries. Especially,
let's be careful of bin.bin where $(BINOWN):$(BINGRP) is appropriate since there are religous issues under different OSes.
This commit is contained in:
parent
879ce933b8
commit
1f6e300030
@ -3,7 +3,7 @@
|
||||
# Date created: 17 November 1997
|
||||
# Whom: gene
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.3 1997/11/19 01:07:54 joey Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 1997/12/14 01:08:53 gene Exp $
|
||||
#
|
||||
|
||||
DISTNAME= tcsh-6.07
|
||||
@ -20,17 +20,17 @@ INSTALL_TARGET= install install.man
|
||||
MAN1= tcsh.1
|
||||
|
||||
post-install:
|
||||
chown bin.bin ${PREFIX}/bin/tcsh
|
||||
chown bin.bin ${PREFIX}/man/man1/tcsh.1
|
||||
$(CHOWN) $(BINOWN):$(BINGRP) ${PREFIX}/bin/tcsh
|
||||
$(CHOWN) $(BINOWN):$(BINGRP) ${PREFIX}/man/man1/$(MAN1)
|
||||
cd ${WRKSRC}; ${INSTALL_DATA} tcsh.C.cat ${PREFIX}/share/nls/C/tcsh.cat
|
||||
cd ${WRKSRC}; ${INSTALL_DATA} tcsh.french.cat ${PREFIX}/share/nls/fr_FR.ISO_8859-1/tcsh.cat
|
||||
ln -sf ${PREFIX}/share/nls/fr_FR.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/fr_BE.ISO_8859-1/tcsh.cat
|
||||
ln -sf ${PREFIX}/share/nls/fr_FR.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/fr_CA.ISO_8859-1/tcsh.cat
|
||||
ln -sf ${PREFIX}/share/nls/fr_FR.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/fr_CH.ISO_8859-1/tcsh.cat
|
||||
$(LN) -sf ${PREFIX}/share/nls/fr_FR.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/fr_BE.ISO_8859-1/tcsh.cat
|
||||
$(LN) -sf ${PREFIX}/share/nls/fr_FR.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/fr_CA.ISO_8859-1/tcsh.cat
|
||||
$(LN) -sf ${PREFIX}/share/nls/fr_FR.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/fr_CH.ISO_8859-1/tcsh.cat
|
||||
cd ${WRKSRC}; ${INSTALL_DATA} tcsh.german.cat ${PREFIX}/share/nls/de_DE.ISO_8859-1/tcsh.cat
|
||||
ln -sf ${PREFIX}/share/nls/de_DE.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/de_AT.ISO_8859-1/tcsh.cat
|
||||
ln -sf ${PREFIX}/share/nls/de_DE.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/de_CH.ISO_8859-1/tcsh.cat
|
||||
install -d -o ${BINOWN} -g ${BINGRP} -m 755 ${PREFIX}/share/nls/el_GR.ISO_8859-7
|
||||
$(LN) -sf ${PREFIX}/share/nls/de_DE.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/de_AT.ISO_8859-1/tcsh.cat
|
||||
$(LN) -sf ${PREFIX}/share/nls/de_DE.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/de_CH.ISO_8859-1/tcsh.cat
|
||||
$(INSTALL) -d -o ${BINOWN} -g ${BINGRP} -m 755 ${PREFIX}/share/nls/el_GR.ISO_8859-7
|
||||
cd ${WRKSRC}; ${INSTALL_DATA} tcsh.greek.cat ${PREFIX}/share/nls/el_GR.ISO_8859-7/tcsh.cat
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user