4de22a4edf
defined and use :U modifier as well. - use proper PKGNAME when building a static binary.
50 lines
1.9 KiB
Makefile
50 lines
1.9 KiB
Makefile
# $OpenBSD: Makefile,v 1.15 1999/12/10 14:34:22 brad Exp $
|
|
|
|
DISTNAME= tcsh-6.09
|
|
.if defined(STATIC) && ${STATIC:U} == YES
|
|
PKGNAME= tcsh-6.09.00-static
|
|
.else
|
|
PKGNAME= tcsh-6.09.00
|
|
.endif
|
|
CATEGORIES= shells
|
|
MASTER_SITES= ftp://ftp.astron.com/pub/tcsh/
|
|
|
|
MAINTAINER= brad@openbsd.org
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
# invoke make with STATIC=yes to build a static binary
|
|
.if defined(STATIC) && ${STATIC:U} == YES
|
|
CONFIGURE_ENV+= LDFLAGS=-static
|
|
.endif
|
|
|
|
ALL_TARGET= all catalogs
|
|
WRKSRC= ${WRKDIR}/tcsh-6.09.00
|
|
|
|
do-install:
|
|
@mkdir -p ${PREFIX}/share/nls/el_GR.ISO_8859-7
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tcsh ${PREFIX}/bin/tcsh
|
|
${INSTALL_MAN} ${WRKSRC}/tcsh.man ${PREFIX}/man/man1/tcsh.1
|
|
${INSTALL_DATA} ${WRKSRC}/tcsh.C.cat ${PREFIX}/share/nls/C/tcsh.cat
|
|
${INSTALL_DATA} ${WRKSRC}/tcsh.french.cat ${PREFIX}/share/nls/fr_FR.ISO_8859-1/tcsh.cat
|
|
${INSTALL_DATA} ${WRKSRC}/tcsh.german.cat ${PREFIX}/share/nls/de_DE.ISO_8859-1/tcsh.cat
|
|
${INSTALL_DATA} ${WRKSRC}/tcsh.greek.cat ${PREFIX}/share/nls/el_GR.ISO_8859-7/tcsh.cat
|
|
${INSTALL_DATA} ${WRKSRC}/tcsh.italian.cat ${PREFIX}/share/nls/it_IT.ISO_8859-1/tcsh.cat
|
|
${INSTALL_DATA} ${WRKSRC}/tcsh.spanish.cat ${PREFIX}/share/nls/es_ES.ISO_8859-1/tcsh.cat
|
|
${INSTALL_DATA} ${WRKSRC}/tcsh.ja.cat ${PREFIX}/share/nls/ja_JP.EUC/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/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
|
|
@ln -sf ${PREFIX}/share/nls/it_IT.ISO_8859-1/tcsh.cat \
|
|
${PREFIX}/share/nls/it_CH.ISO_8859-1/tcsh.cat
|
|
@PKG_PREFIX="${PREFIX}" ${SH} ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL
|
|
|
|
.include <bsd.port.mk>
|