diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-09-09 22:43:39 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-09-09 22:43:39 +0800 |
commit | 95cc29a2eb9a7c5d7c8228fe95e8d2ba030be0b6 (patch) | |
tree | e6c20e5f2b9b5447b8d4dff190c902d0b7d48a7d /misc | |
parent | 450cc8781c292fc6925247346b5ac3a83f50a09c (diff) | |
download | freebsd-ports-gnome-95cc29a2eb9a7c5d7c8228fe95e8d2ba030be0b6.tar.gz freebsd-ports-gnome-95cc29a2eb9a7c5d7c8228fe95e8d2ba030be0b6.tar.zst freebsd-ports-gnome-95cc29a2eb9a7c5d7c8228fe95e8d2ba030be0b6.zip |
- Switch to options helpers
Approved by: portmgr blanket
Diffstat (limited to 'misc')
-rw-r--r-- | misc/otter/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/misc/otter/Makefile b/misc/otter/Makefile index f940e257ab61..eac9572c40c1 100644 --- a/misc/otter/Makefile +++ b/misc/otter/Makefile @@ -22,8 +22,6 @@ OPTIONS_DEFINE= DOCS EXAMPLES MAKE_JOBS_UNSAFE= yes -.include <bsd.port.options.mk> - post-patch: # Change "cd foo && $(MAKE)" into "$(MAKE) -C foo" @${REINPLACE_CMD} -E 's,cd (.+) && (\$$\(MAKE\)),\2 -C \1, ; \ @@ -36,14 +34,14 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${PROGRAMS:S,^,${WRKSRC}/bin/,} ${STAGEDIR}${PREFIX}/bin -.if ${PORT_OPTIONS:MDOCS} + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/documents/,} ${STAGEDIR}${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} + +do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${PREFIX}/share/examples/mace2 (cd ${WRKSRC}/examples; ${PAX} -rw . ${STAGEDIR}${EXAMPLESDIR}) (cd ${WRKSRC}/examples-mace2; ${PAX} -rw . ${STAGEDIR}${PREFIX}/share/examples/mace2) -.endif .include <bsd.port.mk> |