Stagify.
Approved by: portmgr@ (blanket approval)
This commit is contained in:
parent
078d8543e9
commit
922692b7d2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360144
2 changed files with 7 additions and 5 deletions
|
@ -18,9 +18,10 @@ GNU_CONFIGURE= yes
|
|||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
MAN1= sagasu.1
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|: install-docDATA|:|g' ${WRKSRC}/Makefile.in
|
||||
|
@ -29,10 +30,10 @@ post-patch:
|
|||
@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' ${WRKSRC}/src/util.h
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for f in AUTHORS INSTALL NEWS README THANKS TODO
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
bin/sagasu
|
||||
man/man1/sagasu.1.gz
|
||||
share/applications/sagasu.desktop
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
||||
|
|
Loading…
Reference in a new issue