- Add staging support

- Correct spelling mistakes in pkg-descr
This commit is contained in:
Pawel Pekala 2014-07-22 19:33:41 +00:00
parent 2c723a0bdc
commit 2a6e7e595d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362572
2 changed files with 5 additions and 11 deletions

View file

@ -24,12 +24,8 @@ CONFIGURE_ARGS+=--without-included-gettext --datadir=${PREFIX}/share
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
pre-patch:
@${REINPLACE_CMD} -e 's|DATADIRNAME=lib|DATADIRNAME=share|g' \
${WRKSRC}/configure
@ -39,10 +35,8 @@ post-configure:
cd ${WRKSRC}/po && ${MAKE} update-po
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${PREFIX}/share/doc/gcombust
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
.endif
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View file

@ -5,11 +5,11 @@ would probably be wise to test it with the -dummy option at first to check that
I haven't made any stupid errors. Also, it prints the command it's executing to
stdout so you can look at it and maybe spot errors.
I love to recieve feedback/comments/ideas/bugreports at:
I love to receive feedback/comments/ideas/bugreports at:
jmunsin@iki.fi (jmunsin@abo.fi)
NOTE: If you decide to do a NLS translation of gcombust, it might be a good
idea to mail me about it to make sure noone else is doing one for the
idea to mail me about it to make sure no one else is doing one for the
same language.
WWW: http://www.abo.fi/~jmunsin/gcombust/