aboutsummaryrefslogtreecommitdiffstats
path: root/devel/automake14/Makefile
blob: 0780bc2b32d657394e4dfca728c1bb31ff2e1816 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:    automake
# Date created:     15 March 1997
# Whom:         FUJIMOTO Kensaku <fujimoto@oscar.elec.waseda.ac.jp>
#
# $FreeBSD$
#

PORTNAME=   automake14
PORTVERSION=    1.4.5
PORTREVISION=   1
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= automake
DISTNAME=   automake-1.4-p5

MAINTAINER= ade@FreeBSD.org

GNU_CONFIGURE=  yes
CONFIGURE_ENV=  PERL=${PERL5}
CONFIGURE_ARGS= --program-suffix=14 --datadir=${PREFIX}/share/automake14
USE_PERL5=  yes
WRKSRC=     ${WRKDIR}/${DISTNAME}

STRIP=      # none

post-patch:
    @-${RM} ${WRKSRC}/*.info* ${WRKSRC}/*.dvi
    ${MV} ${WRKSRC}/automake.texi ${WRKSRC}/automake14.texi

pre-configure:
    ${PERL} -pi -e "s^%%X11BASE%%^${X11BASE}^" ${WRKSRC}/aclocal.in

post-install:
    @-${RM} -fr ${PREFIX}/libexec/automake14
    @${MKDIR} ${PREFIX}/libexec/automake14
.for i in aclocal automake
    @${LN} -s ../../bin/${i}14 ${PREFIX}/libexec/automake14/${i}
.endfor
    @install-info ${PREFIX}/info/automake14.info ${PREFIX}/info/dir

.include <bsd.port.mk>