freebsd-ports/x11-toolkits/slingshot/Makefile
2005-10-28 23:08:37 +00:00

44 lines
994 B
Makefile

# New ports collection makefile for: SlingShot
# Date created: 5 March 1997
# Whom: Pedro Giffuni
#
# $FreeBSD$
#
PORTNAME= slingshot
PORTVERSION= 2.1
PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= ftp://ftp.x.org/R5contrib/
DISTNAME= SlingShot${PORTVERSION}
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= Supplemental Libraries to extend Xview
LIB_DEPENDS= xview.3:${PORTSDIR}/x11-toolkits/xview
WRKSRC= ${WRKDIR}/sspkg2.1
USE_X_PREFIX= yes
INSTALLS_SHLIB= yes
USE_GMAKE= yes
MAKE_ENV= OPENWINHOME=${X11BASE}
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
BROKEN= "Does not compile on amd64 or ia64 (missing -fPIC)"
.endif
pre-patch:
${CP} ${WRKSRC}/config.sunos4x ${WRKSRC}/config.fbsd
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/SlingShot
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/SlingShot
${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${PREFIX}/share/doc/SlingShot
.endif
.include <bsd.port.post.mk>