diff options
author | Olivier Cochard <olivier@FreeBSD.org> | 2020-03-30 17:01:46 +0000 |
---|---|---|
committer | Olivier Cochard <olivier@FreeBSD.org> | 2020-03-30 17:01:46 +0000 |
commit | 3a75f186e15d7596958e69341b60feb9bef0544a (patch) | |
tree | fe62b58038f586313c3907868e57acd86a3fdfe8 /editors | |
parent | 2eb43c2302a3f448d1eea2757d4062b0ef2bc46f (diff) |
Notes
Diffstat (limited to 'editors')
-rw-r--r-- | editors/jove/Makefile | 12 | ||||
-rw-r--r-- | editors/jove/pkg-plist | 2 |
2 files changed, 12 insertions, 2 deletions
diff --git a/editors/jove/Makefile b/editors/jove/Makefile index ed3b148192ff..4efeef98be8e 100644 --- a/editors/jove/Makefile +++ b/editors/jove/Makefile @@ -16,12 +16,22 @@ LICENSE_NAME= JOVE License LICENSE_FILE= ${WRKSRC}/README LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -USES= groff ncurses +USES= ncurses MAKE_ARGS= LIBS="${LDFLAGS} -lncurses" WRKSRC= ${WRKDIR}/${PORTNAME} +OPTIONS_DEFINE= EXTRADOCS +EXTRADOCS_DESC= Build and install cmds.doc +EXTRADOCS_USES= groff +OPTIONS_DEFAULT= +OPTIONS_SUB= yes + post-patch: # Fix collisions with getline(3) @${REINPLACE_CMD} 's|[[:<:]]getline[[:>:]]|get_line|g' ${WRKSRC}/*.c ${WRKSRC}/*.h +post-patch-EXTRADOCS-off: + @${REINPLACE_CMD} -E 's|^(all:.*) doc/cmds\.doc$$|\1|' ${WRKSRC}/Makefile + @${REINPLACE_CMD} 's|^CMDS.DOC = .*|CMDS.DOC=|' ${WRKSRC}/Makefile + .include <bsd.port.mk> diff --git a/editors/jove/pkg-plist b/editors/jove/pkg-plist index 7a5b583448f5..b4c035c7440c 100644 --- a/editors/jove/pkg-plist +++ b/editors/jove/pkg-plist @@ -5,7 +5,7 @@ libexec/jove/recover man/man1/jove.1.gz man/man1/teachjove.1.gz %%DATADIR%%/XTermresource -%%DATADIR%%/cmds.doc +%%EXTRADOCS%%%%DATADIR%%/cmds.doc %%DATADIR%%/jove.rc %%DATADIR%%/jove.rc.3022 %%DATADIR%%/jove.rc.sun |