a87a4324ba
no package change
37 lines
778 B
Makefile
37 lines
778 B
Makefile
# $OpenBSD: Makefile,v 1.2 2006/12/26 14:07:10 ajacoutot Exp $
|
|
|
|
COMMENT= "visualize and manipulate mathematical models"
|
|
|
|
DISTNAME= k3dsurf-0.6.1
|
|
CATEGORIES= graphics math
|
|
|
|
HOMEPAGE= http://k3dsurf.sourceforge.net/
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=k3dsurf/}
|
|
|
|
WANTLIB= GL GLU X11 Xext Xmu c m pthread stdc++
|
|
|
|
MODULES= x11/qt3
|
|
USE_GCC3= yes
|
|
USE_X11= Yes
|
|
NO_REGRESS= Yes
|
|
|
|
PORTHOME= ${WRKDIR}
|
|
|
|
do-configure:
|
|
perl -pi -e "s/!!CXXFLAGS!!/${CXXFLAGS}/" ${WRKSRC}/src/src.pro
|
|
cd ${WRKDIST} && ${LOCALBASE}/bin/qmake
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/k3dsurf ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|