1997-09-03 01:22:18 -04:00
|
|
|
# New ports collection makefile for: libsx
|
|
|
|
# Version required: 1.1
|
|
|
|
# Date created: 5 December 1996
|
|
|
|
# Whom: Pedro Giffuni
|
1997-01-13 02:43:51 -05:00
|
|
|
#
|
1998-09-20 21:35:33 -04:00
|
|
|
# $Id: Makefile,v 1.7 1998/08/07 23:56:54 asami Exp $
|
1997-01-13 02:43:51 -05:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= libsx
|
|
|
|
PKGNAME= libsx-1.1
|
|
|
|
CATEGORIES= x11
|
|
|
|
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
|
|
|
|
MASTER_SITE_SUBDIR= libraries
|
1997-08-10 20:37:00 -04:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
1997-01-13 02:43:51 -05:00
|
|
|
|
1997-09-03 01:22:18 -04:00
|
|
|
MAINTAINER= giffunip@asme.org
|
1997-01-13 02:43:51 -05:00
|
|
|
|
1998-09-20 21:35:33 -04:00
|
|
|
LIB_DEPENDS= Xaw3d.6:${PORTSDIR}/x11-toolkits/Xaw3d
|
1997-09-15 03:28:07 -04:00
|
|
|
|
1998-08-05 05:31:52 -04:00
|
|
|
USE_X_PREFIX= yes
|
1997-09-03 01:22:18 -04:00
|
|
|
ALL_TARGET= src freq
|
1997-01-13 02:43:51 -05:00
|
|
|
|
|
|
|
do-install:
|
1997-01-13 06:32:25 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/libsx.a ${PREFIX}/lib
|
1997-09-03 01:22:18 -04:00
|
|
|
${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
|
1997-01-13 02:43:51 -05:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
1997-01-13 06:32:25 -05:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/libsx
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/* ${PREFIX}/share/doc/libsx
|
|
|
|
${GZIP_CMD} ${PREFIX}/share/doc/libsx/*.doc
|
1997-01-13 02:43:51 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|