summaryrefslogtreecommitdiffstats
path: root/devel/st/Makefile
blob: 3b4ffa5840fd2b7f22a2e6fab8cd8a1c214ac970 (plain)
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
42
43
44
45
# New ports collection makefile for:    st
# Date created:         Sun Feb 18 2001
# Whom:                 tobez@tobez.org
#
# $FreeBSD$
#

PORTNAME=	st
PORTVERSION=	1.3
CATEGORIES=	devel
MASTER_SITES=	http://telia.dl.sourceforge.net/sourceforge/state-threads/ \
		http://www.tobez.org/download/port-mirrors/devel/st/

MAINTAINER=	tobez@FreeBSD.org

INSTALLS_SHLIB=	yes
ONLY_FOR_ARCHS=	i386 alpha

.include <bsd.port.pre.mk>

post-patch:
	@${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/examples/Makefile
	@${CP} ${FILESDIR}/Makefile.main ${WRKSRC}/Makefile
	@${CP} ${FILESDIR}/Makefile.examples ${WRKSRC}/examples/Makefile

post-install:
	@${MKDIR} ${PREFIX}/include
	@${INSTALL_DATA} ${WRKSRC}/public.h ${PREFIX}/include/st.h
	@${MKDIR} ${PREFIX}/share/examples/st
	@${INSTALL_DATA} ${WRKSRC}/examples/Makefile	${PREFIX}/share/examples/st
	@${INSTALL_DATA} ${WRKSRC}/examples/README	${PREFIX}/share/examples/st
	@${INSTALL_DATA} ${WRKSRC}/examples/error.c	${PREFIX}/share/examples/st
	@${INSTALL_DATA} ${WRKSRC}/examples/lookupdns.c	${PREFIX}/share/examples/st
	@${INSTALL_DATA} ${WRKSRC}/examples/proxy.c	${PREFIX}/share/examples/st
	@${INSTALL_DATA} ${WRKSRC}/examples/res.c	${PREFIX}/share/examples/st
	@${INSTALL_DATA} ${WRKSRC}/examples/server.c	${PREFIX}/share/examples/st
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/st
	@${INSTALL_DATA} ${WRKSRC}/docs/fig.gif		${PREFIX}/share/doc/st
	@${INSTALL_DATA} ${WRKSRC}/docs/notes.html	${PREFIX}/share/doc/st
	@${INSTALL_DATA} ${WRKSRC}/docs/reference.html	${PREFIX}/share/doc/st
	@${INSTALL_DATA} ${WRKSRC}/docs/st.html		${PREFIX}/share/doc/st
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud