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