summaryrefslogtreecommitdiff
path: root/graphics/fraqtive
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/fraqtive')
-rw-r--r--graphics/fraqtive/Makefile18
1 files changed, 3 insertions, 15 deletions
diff --git a/graphics/fraqtive/Makefile b/graphics/fraqtive/Makefile
index c7dec57eda7d..7f60304d8fd7 100644
--- a/graphics/fraqtive/Makefile
+++ b/graphics/fraqtive/Makefile
@@ -17,27 +17,15 @@ HAS_CONFIGURE= yes
CONFIGURE_ENV= QMAKESPEC="${QMAKESPEC}" \
QMAKE_CFLAGS="${CFLAGS}"
CONFIGURE_ARGS= -prefix ${PREFIX} -qmake ${QMAKE}
+DESTDIRNAME= INSTALL_ROOT
OPTIONS_DEFINE= SSE2
SSE2_DESC= Enable SSE2 optimization
+SSE2_CONFIGURE_OFF= -no-sse2
STRIP_FILES= bin/fraqtive
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if !${PORT_OPTIONS:MSSE2}
-CONFIGURE_ARGS+=-no-sse2
-.endif
-
-post-configure:
- @${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} \
- -e 's|^CC .*|CC=${CC}|; s|^CXX .*|CXX=${CXX}|' \
- -e 's|^LINK .*|LINK=${CXX}|' \
- -e 's|^CFLAGS .*|CFLAGS=${CFLAGS} -Wall -W $$\(DEFINES\)|' \
- -e 's|^CXXFLAGS .*|CXXFLAGS=${CXXFLAGS} -Wall -W $$\(DEFINES\)|'
-
post-install:
- ${STRIP_CMD} ${STRIP_FILES:S,^,${PREFIX}/,}
+ ${STRIP_CMD} ${STRIP_FILES:S,^,${STAGEDIR}${PREFIX}/,}
.include <bsd.port.mk>