mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
1: Stagify.
2: use options helper.
This commit is contained in:
parent
6a4ed8d329
commit
558b494dda
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360160
@ -14,18 +14,18 @@ COMMENT= Simple GTK+-2 HTML editor
|
||||
USES= pathfix pkgconfig gmake
|
||||
USE_GNOME= gnomeprefix gtksourceview gtkhtml3
|
||||
GNU_CONFIGURE= yes
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
MAN1= erwin.1
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|gtkhtml-3.6|gtkhtml-3.14|g" \
|
||||
${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,5 @@
|
||||
bin/erwin
|
||||
man/man1/erwin.1.gz
|
||||
share/erwin/bold.svg
|
||||
share/erwin/bold1.svg
|
||||
share/erwin/erwin-highlighting.xml
|
||||
|
Loading…
Reference in New Issue
Block a user