aboutsummaryrefslogtreecommitdiff
path: root/emulators/stella/Makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-03 22:10:07 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-03 22:10:07 +0000
commit458634284fd69fe11a3046d3042259814fc6af63 (patch)
tree74746fb76203f9d400410f98d6a44664ba2fc428 /emulators/stella/Makefile
parentd167adc2d57dadaef54e12e1ba9956f6f08b4175 (diff)
downloadports-458634284fd69fe11a3046d3042259814fc6af63.tar.gz
ports-458634284fd69fe11a3046d3042259814fc6af63.zip
Notes
Diffstat (limited to 'emulators/stella/Makefile')
-rw-r--r--emulators/stella/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/emulators/stella/Makefile b/emulators/stella/Makefile
index 131c57a778c3..57f25a05754c 100644
--- a/emulators/stella/Makefile
+++ b/emulators/stella/Makefile
@@ -21,6 +21,8 @@ HAS_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e \
's|=sdl-config|="$$SDL_CONFIG"|g' ${WRKSRC}/configure
@@ -29,10 +31,8 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/stella ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/src/emucore/stella.pro ${STAGEDIR}${DATADIR}
-.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/docs && ${FIND} . | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>