summaryrefslogtreecommitdiffstats
path: root/x11/libsx/Makefile
blob: b953d6c34a05c8d8b4201764036482dd1d91b53b (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
# New ports collection makefile for:	libsx
# Version required:	1.1
# Date created:			5 December 1996
# Whom:				Pedro Giffuni
#
# $Id: Makefile,v 1.3 1997/08/11 00:36:50 fenner Exp $
#

DISTNAME=	libsx
PKGNAME=	libsx-1.1
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR=	libraries
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	giffunip@asme.org

USE_X11=	yes
ALL_TARGET=	src freq

do-install:
	${INSTALL_DATA} ${WRKSRC}/src/libsx.a  ${PREFIX}/lib
	${INSTALL_DATA} ${WRKSRC}/freq/libfreq.a  ${PREFIX}/lib
	${MKDIR} ${PREFIX}/include/X11/libsx
	${INSTALL_DATA} ${WRKSRC}/src/libsx.h ${PREFIX}/include/X11/libsx
	${INSTALL_DATA} ${WRKSRC}/freq/freq.h ${PREFIX}/include/X11/libsx

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/libsx
	${INSTALL_MAN} ${WRKSRC}/docs/* ${PREFIX}/share/doc/libsx
	${GZIP_CMD} ${PREFIX}/share/doc/libsx/*.doc
.endif

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