svn commit: r353494 - head/japanese/jyuroku

Pawel Pekala pawel at FreeBSD.org
Fri May 9 18:44:01 UTC 2014


Author: pawel
Date: Fri May  9 18:44:01 2014
New Revision: 353494
URL: http://svnweb.freebsd.org/changeset/ports/353494
QAT: https://qat.redports.org/buildarchive/r353494/

Log:
  - Add staging support
  - Define DOCS option

Modified:
  head/japanese/jyuroku/Makefile

Modified: head/japanese/jyuroku/Makefile
==============================================================================
--- head/japanese/jyuroku/Makefile	Fri May  9 18:41:47 2014	(r353493)
+++ head/japanese/jyuroku/Makefile	Fri May  9 18:44:01 2014	(r353494)
@@ -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 at gcc@${CC}@g; \
 			s at -g@${CFLAGS}@g; \
 			s at 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>


More information about the svn-ports-all mailing list