57 lines
2.1 KiB
Makefile
57 lines
2.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.18 2000/02/15 05:05:14 turan 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/
|
|
NEED_VERSION= 1.191
|
|
|
|
MAINTAINER= brad@openbsd.org
|
|
|
|
LICENSE_TYPE= BSD
|
|
PERMIT_PACKAGE_CDROM= YES
|
|
PERMIT_PACKAGE_FTP= YES
|
|
PERMIT_DISTFILES_CDROM= YES
|
|
PERMIT_DISTFILES_FTP= YES
|
|
|
|
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
|
|
WRKDIST= ${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>
|