1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/x11/libsx/Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

40 lines
961 B
Makefile

# New ports collection makefile for: libsx
# Date created: 5 December 1996
# Whom: Pedro Giffuni
#
# $FreeBSD$
#
PORTNAME= libsx
PORTVERSION= 1.1
PORTREVISION= 3
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 xext xmu xt
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_DATA} ${WRKSRC}/docs/* ${PREFIX}/share/doc/libsx
${GZIP_CMD} ${PREFIX}/share/doc/libsx/*.doc
.endif
.include <bsd.port.mk>