Lines 1-5
Link Here
|
1 |
PORTNAME= lux |
1 |
PORTNAME= lux |
2 |
PORTVERSION= 1.1.0a |
2 |
PORTVERSION= 1.1.1 |
3 |
CATEGORIES= graphics |
3 |
CATEGORIES= graphics |
4 |
MASTER_SITES= https://bitbucket.org/kfj/pv/get/ |
4 |
MASTER_SITES= https://bitbucket.org/kfj/pv/get/ |
5 |
PKGNAMESUFFIX= -pv # distinguish from www/lux |
5 |
PKGNAMESUFFIX= -pv # distinguish from www/lux |
Lines 15-21
LICENSE_FILE_GPLv3= ${WRKSRC}/LICENSE
Link Here
|
15 |
LICENSE_FILE_SANSATION= ${WRKSRC}/Sansation_1.31_ReadMe.txt |
15 |
LICENSE_FILE_SANSATION= ${WRKSRC}/Sansation_1.31_ReadMe.txt |
16 |
LICENSE_PERMS_SANSATION= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept |
16 |
LICENSE_PERMS_SANSATION= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept |
17 |
|
17 |
|
18 |
BUILD_DEPENDS= vc>0:devel/vc |
18 |
BROKEN_armv6= address space exhaustion in compiler |
|
|
19 |
BROKEN_armv7= address space exhaustion in compiler |
20 |
|
19 |
LIB_DEPENDS= libvigraimpex.so:graphics/vigra \ |
21 |
LIB_DEPENDS= libvigraimpex.so:graphics/vigra \ |
20 |
libsfml-window.so:devel/sfml \ |
22 |
libsfml-window.so:devel/sfml \ |
21 |
libexiv2.so:graphics/exiv2 |
23 |
libexiv2.so:graphics/exiv2 |
Lines 29-43
DESKTOP_ENTRIES= "Lux Panorama Viewer" \
Link Here
|
29 |
false |
31 |
false |
30 |
|
32 |
|
31 |
WRKSRC= ${WRKDIR}/kfj-pv-${COMMIT} |
33 |
WRKSRC= ${WRKDIR}/kfj-pv-${COMMIT} |
32 |
COMMIT= b5011de5af40 |
34 |
COMMIT= 9ec3fe36f96a |
33 |
PLIST_FILES= bin/lux \ |
35 |
PLIST_FILES= bin/lux \ |
34 |
share/icons/hicolor/512x512/apps/lux-pv.png \ |
36 |
share/icons/hicolor/512x512/apps/lux-pv.png \ |
35 |
share/lux/fonts/Sansation_1.31_ReadMe.txt \ |
37 |
share/lux/fonts/Sansation_1.31_ReadMe.txt \ |
36 |
share/lux/fonts/Sansation_Regular.ttf |
38 |
share/lux/fonts/Sansation_Regular.ttf |
37 |
|
39 |
|
|
|
40 |
.include <bsd.port.pre.mk> |
41 |
|
42 |
# cannot use CMAKE_ON after bsd.port.pre.mk |
43 |
.if ${ARCH} == 'amd64' || ${ARCH} == 'i386' |
44 |
BUILD_DEPENDS= vc>0:devel/vc |
45 |
CMAKE_ARGS+= -DFLV_SSSE3=ON -DFLV_SSE42=ON |
46 |
.else |
47 |
LIB_DEPENDS+= libhwy.so:devel/highway |
48 |
CMAKE_ARGS+= -DUSE_HWY_LIBRARY=ON -DFLV_NATIVE=ON |
49 |
.endif |
50 |
|
38 |
post-install: |
51 |
post-install: |
39 |
${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/512x512/apps |
52 |
${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/512x512/apps |
40 |
${INSTALL_DATA} ${WRKSRC}/scripts/PV_512x512x32.png \ |
53 |
${INSTALL_DATA} ${WRKSRC}/scripts/PV_512x512x32.png \ |
41 |
${STAGEDIR}${PREFIX}/share/icons/hicolor/512x512/apps/lux-pv.png |
54 |
${STAGEDIR}${PREFIX}/share/icons/hicolor/512x512/apps/lux-pv.png |
42 |
|
55 |
|
43 |
.include <bsd.port.mk> |
56 |
.include <bsd.port.post.mk> |