- Support CFLAGS properly

- Support PKGMESSAGE
- Support GCONF_SCHEMAS
- Fix COMMENT format

PR:		ports/76900
Submitted by:	Ports Fury
This commit is contained in:
Volker Stolz 2005-02-04 15:03:01 +00:00
parent 9fff94eb56
commit bcc2e7d2f2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128036
2 changed files with 15 additions and 22 deletions

View file

@ -6,32 +6,36 @@
PORTNAME= quark
PORTVERSION= 3.21
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= multimedia gnome
MASTER_SITES= http://quark.sunsite.dk/ \
http://demian.dyndns.org/src/
MAINTAINER= ports@FreeBSD.org
COMMENT= Quark is an audio player, for geeks, by geeks
COMMENT= An audio player, for geeks, by geeks
LIB_DEPENDS= xine.12:${PORTSDIR}/multimedia/libxine
USE_X_PREFIX= yes
USE_GNOME= gnomehack gnomeprefix gnometarget gnomevfs2
USE_REINPLACE= yes
USE_GMAKE= yes
USE_LIBTOOL_VER=13
USE_GNOME= gnomehack gnomeprefix gnomevfs2
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
DOCS= AUTHORS COPYING INSTALL README
PORTDOCS= AUTHORS COPYING INSTALL README
GCONF_SCHEMAS= quark.schemas strange-quark.schemas
post-patch:
@${REINPLACE_CMD} -e \
's|CFLAGS="-g |CFLAGS="$$CFLAGS |g' ${WRKSRC}/configure
post-install:
.if !defined(NOPORTDOCS)
${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
@${MKDIR} ${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
.endif
@${CAT} pkg-message
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View file

@ -1,17 +1,6 @@
bin/charm-quark
bin/quark
bin/strange-quark
@unexec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/quark.schemas > /dev/null || /usr/bin/true
etc/gconf/schemas/quark.schemas
@exec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/quark.schemas > /dev/null || /usr/bin/true
@unexec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/strange-quark.schemas > /dev/null || /usr/bin/true
etc/gconf/schemas/strange-quark.schemas
@exec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/strange-quark.schemas > /dev/null || /usr/bin/true
%%PORTDOCS%%share/doc/quark/AUTHORS
%%PORTDOCS%%share/doc/quark/COPYING
%%PORTDOCS%%share/doc/quark/INSTALL
%%PORTDOCS%%share/doc/quark/README
share/gnome/applications/quark.desktop
share/gnome/pixmaps/quark.png
share/locale/ko/LC_MESSAGES/quark.mo
@dirrm share/doc/quark