- Fix plist when NOPORTDOCS isnt defined (docs specified two times)

- Cleanups, use proper macro instead of cp -R
- Assign maintainership

PR:	138671
This commit is contained in:
Alexander Nedotsukov 2009-09-11 04:02:32 +00:00
parent c92e4377e1
commit 34cfbf5cd0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241195

View File

@ -11,22 +11,19 @@ PORTVERSION= 2.1.0
CATEGORIES= print
MASTER_SITES= http://libharu.org/files/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= kimelto@gmail.com
COMMENT= Haru Free PDF Library
LIB_DEPENDS= png:${PORTSDIR}/graphics/png
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
USE_LDCONFIG= yes
.if !defined(NOPORTDOCS)
PORTDOCS= *
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
@(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${DOCSDIR})
.endif
.include <bsd.port.mk>