aboutsummaryrefslogtreecommitdiff
path: root/editors/bless
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-07-12 22:49:26 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-07-12 22:49:26 +0000
commitf90dd0c21815c128aa78c9688a6f2a7507d47d11 (patch)
tree3690ad6afe20735bab3998a3ed90d096264831f7 /editors/bless
parenteb07bd6736aff04fc78733353ebe9f9eca4aee1b (diff)
downloadports-f90dd0c21815c128aa78c9688a6f2a7507d47d11.tar.gz
ports-f90dd0c21815c128aa78c9688a6f2a7507d47d11.zip
Stagify.
Approved by: portmgr@ (blanket)
Notes
Notes: svn path=/head/; revision=361651
Diffstat (limited to 'editors/bless')
-rw-r--r--editors/bless/Makefile13
-rw-r--r--editors/bless/pkg-plist1
2 files changed, 5 insertions, 9 deletions
diff --git a/editors/bless/Makefile b/editors/bless/Makefile
index d48a86a687a9..182b7396e151 100644
--- a/editors/bless/Makefile
+++ b/editors/bless/Makefile
@@ -13,22 +13,19 @@ COMMENT= High quality, full featured hex editor
USES= gmake mono pathfix pkgconfig
USE_GNOME= gnomeprefix gnomedocutils gtksharp20
GNU_CONFIGURE= yes
+INSTALLS_OMF= yes
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
INSTALLS_OMF= yes
.endif
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|tests$$||g' \
${WRKSRC}/Makefile.in
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
's|$$(datadir)/doc/$$(PACKAGE_NAME)-$$(PACKAGE_VERSION)|${DOCSDIR}|g'
-.if defined(NOPORTDOCS)
- @${REINPLACE_CMD} -e 's|data doc|data|g' \
- -e '/^install-data-local:/,/^$$/d' \
- -e 's|install-data-local||' \
- ${WRKSRC}/Makefile.in
-.endif
.include <bsd.port.mk>
diff --git a/editors/bless/pkg-plist b/editors/bless/pkg-plist
index c669b83a1926..b148df5a6de3 100644
--- a/editors/bless/pkg-plist
+++ b/editors/bless/pkg-plist
@@ -70,7 +70,6 @@ share/applications/bless.desktop
share/pixmaps/bless-48x48.png
@dirrm %%DATADIR%%
%%PORTDOCS%%@dirrm share/omf/bless
-%%PORTDOCS%%@dirrmtry share/omf
%%PORTDOCS%%@dirrm %%DOCSDIR%%/user/figures
%%PORTDOCS%%@dirrm %%DOCSDIR%%/user
%%PORTDOCS%%@dirrm %%DOCSDIR%%