diff options
Diffstat (limited to 'deskutils/rubrica/Makefile')
-rw-r--r-- | deskutils/rubrica/Makefile | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/deskutils/rubrica/Makefile b/deskutils/rubrica/Makefile index 1d0a2b2c71eb..dc80515f3fcc 100644 --- a/deskutils/rubrica/Makefile +++ b/deskutils/rubrica/Makefile @@ -6,32 +6,36 @@ # PORTNAME= rubrica -PORTVERSION= 1.0.1 +PORTVERSION= 1.0.5 CATEGORIES= deskutils gnome MASTER_SITES= http://digilander.libero.it/nfragale/download/rubrica/ -DISTNAME= ${PORTNAME}-${PORTVERSION:S/.c1$/cr1/} -MAINTAINER= ports@freebsd.org +MAINTAINER= ports@FreeBSD.org COMMENT= An addressbook for the gnome2 desktop -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.c1$/cr1/} USE_BZIP2= yes -USE_GNOME= gnomehack gnomeprefix libgnomeui USE_X_PREFIX= yes +USE_GNOME= gnomehack gnomeprefix gnometarget libgnomeui USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ - LIBS="-L${LOCALBASE}/lib" +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" -DOC_FILES= AUTHORS COPYING CREDITS ChangeLog INSTALL NEWS README TODO +post-patch: + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|^CFLAGS.*$$|CFLAGS = @CFLAGS@|g ; \ + s|^rubricadocdir.*$$|rubricadocdir =|g ; \ + s|$$(rubricadoc_DATA)||g' post-install: -.ifndef(NOPORTDOCS) +.if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for file in ${DOC_FILES} - @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.for file in AUTHORS ChangeLog INSTALL NEWS README TODO + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.for file in CREDITS examples.rub + ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR} .endfor - @${INSTALL_DATA} ${WRKSRC}/doc/examples.rub ${DOCSDIR} .endif .include <bsd.port.mk> |