1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

- Add LICENSE

- Simplify docs handling
- Drop @dirrm* from plist
This commit is contained in:
Dmitry Marakasov 2015-03-06 12:08:31 +00:00
parent 76a6eda168
commit b6a0889e87
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=380593
2 changed files with 4 additions and 6 deletions

View File

@ -11,21 +11,21 @@ DISTNAME= erwin-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple GTK+-2 HTML editor
LICENSE= GPLv2 # or later
LICENSE_FILE= ${WRKSRC}/COPYING
USES= pathfix pkgconfig gmake
USE_GNOME= gnomeprefix gtksourceview gtkhtml3
GNU_CONFIGURE= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e "s|gtkhtml-3.6|gtkhtml-3.14|g" \
${WRKSRC}/configure
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -11,6 +11,4 @@ share/erwin/h3.svg
share/erwin/h33.svg
share/erwin/small.svg
share/pixmaps/erwin.xpm
@dirrm share/erwin
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%