summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/neXtaw/Makefile
blob: 12f1115a30e3354ba3d1f20d0f4f742614d56316 (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
# New ports collection makefile for:	neXtaw
# Version required:	0.5.1
# Date created:		16 January 1997
# Whom:			Thomas Gellekum <tg@FreeBSD.ORG>
#
# $Id: Makefile,v 1.7 1998/08/07 22:56:38 asami Exp $
#

DISTNAME=	neXtaw-0.5.1
CATEGORIES=	x11-toolkits
MASTER_SITES=	http://www.inf.ufrgs.br/~kojima/nextaw/
EXTRACT_SUFX=	.tar.gz.bin

MAINTAINER=	tg@FreeBSD.ORG

USE_IMAKE=	yes

post-extract:
	@${RM} -rf ${WRKSRC}/X11

post-configure:
	@${ECHO_MSG} "*********************************************************************"
	@${ECHO_MSG} "* Don't worry about the warning messages above, the port will build *"
	@${ECHO_MSG} "*********************************************************************"
	@cd ${WRKSRC}/exports/include/X11/neXtaw; ln -sf ../../../../*.h .

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/neXtaw
	${INSTALL_DATA} ${WRKSRC}/README.neXtaw ${PREFIX}/share/doc/neXtaw
.endif
	if [ "${PORTOBJFORMAT}" = "aout" ]; then \
		${LN} -sf libneXtaw.so.6.1 ${PREFIX}/lib/libneXtaw.so; \
	fi
	${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib

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