mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
33e3d901d4
modular xorg. - supply corresponding USE_XORG for all imake-using ports that need it - USE_IMAKE no longer implies USE_XLIB in absence of USE_XORG - retire USE_X_PREFIX which is not really used anywhere after the above change - a few minor nits like whitespace and SF macro Tested by: 2 tinderbox runs by pav Approved by: portmgr (pav)
41 lines
987 B
Makefile
41 lines
987 B
Makefile
# New ports collection makefile for: libsx
|
|
# Date created: 5 December 1996
|
|
# Whom: Pedro Giffuni
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libsx
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 4
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
|
|
MASTER_SITE_SUBDIR= libraries
|
|
DISTNAME= ${PORTNAME}
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Simple X11 library
|
|
|
|
LIB_DEPENDS= Xaw3d:${PORTSDIR}/x11-toolkits/Xaw3d
|
|
|
|
USE_XORG= x11 xaw xext xmu xt
|
|
ALL_TARGET= src freq
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
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_DATA} ${WRKSRC}/docs/* ${PREFIX}/share/doc/libsx
|
|
${GZIP_CMD} ${PREFIX}/share/doc/libsx/*.doc
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|