Lines 10-18
Link Here
|
10 |
COMMENT= Open source DXT compression library |
10 |
COMMENT= Open source DXT compression library |
11 |
|
11 |
|
12 |
LICENSE= MIT |
12 |
LICENSE= MIT |
13 |
USE_GMAKE= YES |
13 |
|
|
|
14 |
USES= gmake |
15 |
MAKE_ENV= INSTALL_DIR=${STAGEDIR}${PREFIX} |
14 |
PLIST_FILES= include/squish.h \ |
16 |
PLIST_FILES= include/squish.h \ |
15 |
lib/libsquish.a |
17 |
lib/libsquish.a |
|
|
18 |
CXXFLAGS+= -fPIC |
16 |
|
19 |
|
17 |
OPTIONS_RADIO= RG1 |
20 |
OPTIONS_RADIO= RG1 |
18 |
OPTIONS_RADIO_RG1= ALTIVEC SSE |
21 |
OPTIONS_RADIO_RG1= ALTIVEC SSE |
Lines 19-29
Link Here
|
19 |
ALTIVEC_DESC= Use Altivec instructions |
22 |
ALTIVEC_DESC= Use Altivec instructions |
20 |
RG1_DESC= Optimizations Selection |
23 |
RG1_DESC= Optimizations Selection |
21 |
|
24 |
|
22 |
NO_STAGE= yes |
|
|
23 |
.include <bsd.port.options.mk> |
25 |
.include <bsd.port.options.mk> |
24 |
|
26 |
|
25 |
CXXFLAGS+= -fPIC |
|
|
26 |
|
27 |
.if ${PORT_OPTIONS:MALTIVEC} |
27 |
.if ${PORT_OPTIONS:MALTIVEC} |
28 |
CXXFLAGS+= -DSQUISH_USE_ALTIVEC=1 -maltivec |
28 |
CXXFLAGS+= -DSQUISH_USE_ALTIVEC=1 -maltivec |
29 |
.endif |
29 |
.endif |