mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
46c9c0bd74
Part of PR: 4531 Submitted by: Pedro Giffuni <giffunip@asme.org>
38 lines
945 B
Makefile
38 lines
945 B
Makefile
# New ports collection makefile for: libsx
|
|
# Version required: 1.1
|
|
# Date created: 5 December 1996
|
|
# Whom: Pedro Giffuni
|
|
#
|
|
# $Id: Makefile,v 1.4 1997/09/03 05:22:17 max 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
|
|
|
|
LIB_DEPENDS= Xaw3d\\.6\\.:${PORTSDIR}/x11/Xaw3d
|
|
|
|
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>
|