- Add staging support
- Define DOCS option
This commit is contained in:
parent
62a8b7fdeb
commit
cf9e7a38bf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353494
@ -14,19 +14,16 @@ COMMENT= Japanese address book
|
||||
ALL_TARGET=
|
||||
USE_GNOME= gtk12
|
||||
|
||||
NO_STAGE= yes
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e "s@gcc@${CC}@g; \
|
||||
s@-g@${CFLAGS}@g; \
|
||||
s@gtk-config@${GTK_CONFIG}@g" ${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/jyuroku ${LOCALBASE}/bin
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
|
||||
.endif
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/jyuroku ${STAGEDIR}${LOCALBASE}/bin
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user