Added
Link Here
|
1 |
# $FreeBSD$ |
2 |
|
3 |
PORTNAME= instant-meshes |
4 |
PORTVERSION= 0 |
5 |
CATEGORIES= graphics |
6 |
|
7 |
MAINTAINER= greg@unrelenting.technology |
8 |
COMMENT= Interactive field-aligned mesh generator |
9 |
|
10 |
LICENSE= BSD3CLAUSE |
11 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
12 |
|
13 |
BUILD_DEPENDS= convert:graphics/ImageMagick |
14 |
RUN_DEPENDS= zenity:x11/zenity |
15 |
|
16 |
USES= cmake:outsource compiler:c++11-lang pkgconfig |
17 |
|
18 |
USE_GITHUB= yes |
19 |
GH_ACCOUNT= wjakob |
20 |
GH_TAGNAME= 4a083f4 |
21 |
GH_TUPLE= wjakob:nanogui:2a61f03:nanogui/ext/nanogui \ |
22 |
libigl:eigen:c34a913:eigen \ |
23 |
wjakob:glfw:0ff30d6:glfw \ |
24 |
wjakob:nanovg:ac15b84:nanovg \ |
25 |
pybind:pybind11:c01a1c1:pybind11 \ |
26 |
wjakob:pcg32:0ef13e6:pcg32/ext/pcg32 \ |
27 |
wjakob:dset:7967ef0:dset/ext/dset \ |
28 |
wjakob:tbb:550c18b:tbb/ext/tbb \ |
29 |
wjakob:pss:a91da33:pss/ext/pss |
30 |
|
31 |
USE_GL= gl |
32 |
USE_XORG+= xxf86vm xrandr xinerama xcursor xi x11 |
33 |
|
34 |
INSTALLS_ICONS= yes |
35 |
|
36 |
post-extract: |
37 |
@${MV} ${WRKSRC_eigen}/* ${WRKSRC}/ext/nanogui/ext/eigen |
38 |
@${MV} ${WRKSRC_glfw}/* ${WRKSRC}/ext/nanogui/ext/glfw |
39 |
@${MV} ${WRKSRC_nanovg}/* ${WRKSRC}/ext/nanogui/ext/nanovg |
40 |
@${MV} ${WRKSRC_pybind11}/* ${WRKSRC}/ext/nanogui/ext/pybind11 |
41 |
|
42 |
post-install: |
43 |
convert ${WRKSRC}/resources/icon.png -resize 500x500 -gravity center \ |
44 |
-background none -extent 512x512 ${WRKSRC}/resources/icon-512.png |
45 |
${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/512x512/apps |
46 |
${INSTALL_DATA} ${WRKSRC}/resources/icon-512.png \ |
47 |
${STAGEDIR}${PREFIX}/share/icons/hicolor/512x512/apps/instant_meshes.png |
48 |
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} |
49 |
|
50 |
.include <bsd.port.mk> |