- add support for staging

- fix minor typos to keep portlint happy
This commit is contained in:
Michael Landin 2014-06-27 12:37:43 +00:00
parent fba661e8a6
commit 3bd36f4f35
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359513
3 changed files with 10 additions and 8 deletions

View file

@ -14,7 +14,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
LDFLAGS+= -lncurses
CFLAGS+= -fno-exceptions -fno-rtti
NO_STAGE= yes
.include <bsd.port.options.mk>
do-build:
cd ${WRKSRC} && \
${CXX} -c ${CFLAGS} -Iinclude/ -o src/curswin.o src/curswin.cpp && \
@ -40,13 +41,13 @@ do-build:
${LDFLAGS} -o ${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gubby ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${PREFIX}/man/man1
${INSTALL_PROGRAM} ${WRKSRC}/gubby ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/gubby.1 ${STAGEDIR}${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.TXT ${DOCSDIR}/README
.if ${PORT_OPTIONS:MDOCS}
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.TXT ${STAGEDIR}${DOCSDIR}/README
.endif
MAN1= gubby.1
.include <bsd.port.mk>

View file

@ -5,4 +5,4 @@ resources. Users can launch a specified mailreader by selecting a folder
and pressing enter.
Author: C.S. Larsen <csl@sublevel3.org>
WWW: http://gubby.sourceforge.net
WWW: http://gubby.sourceforge.net

View file

@ -1,3 +1,4 @@
bin/gubby
man/man1/gubby.1.gz
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%