diff -ruN toycars.orig/Makefile toycars/Makefile --- toycars.orig/Makefile Wed Jul 26 21:25:13 2006 +++ toycars/Makefile Wed Jul 26 21:26:28 2006 @@ -7,6 +7,7 @@ PORTNAME= toycars PORTVERSION= 0.2.5 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= toycars @@ -19,5 +20,15 @@ GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" + +PORTDOCS= README + +.if !defined(NOPORTDOCS) +post-install: + ${MKDIR} ${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +.endfor +.endif .include