openbsd-ports/misc/xcdroast/Makefile
pvalchev 39ef8b05cc Changes from maintainer Jolan Luff <jolan@cryptonomicon.org>
- cast NULL to (void *) in execl call to make sure it is 64 bit
on 64 bit address systems; per new gcc warning
- Respect ${SYSCONFDIR}, ${LOCALBASE}
- fix some formatting
2002-10-13 22:39:45 +00:00

41 lines
1011 B
Makefile

# $OpenBSD: Makefile,v 1.3 2002/10/13 22:39:45 pvalchev Exp $
COMMENT= "gtk-based frontend to cdrtools"
DISTNAME= xcdroast-0.98alpha9
PKGNAME= xcdroast-0.98a9p1
CATEGORIES= misc x11
HOMEPAGE= http://www.xcdroast.org
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xcdroast/}
MAINTAINER= Jolan Luff <jolan@cryptonomicon.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
RUN_DEPENDS= :cdrtools->=1.10:sysutils/cdrtools
LIB_DEPENDS= gtk.1.2,glib.1.2::x11/gtk+ \
Imlib.19,gdk_imlib.19::graphics/imlib
USE_X11= Yes
NO_REGRESS= Yes
post-patch:
@perl -pi -e 's,/etc,${SYSCONFDIR},g; \
s,/usr/local,${LOCALBASE},g;' \
${WRKSRC}/xcdroast.h
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xcdroast
${INSTALL_DATA} ${WRKSRC}/README.nonroot \
${PREFIX}/share/doc/xcdroast
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/xpms/xcdricon.xpm \
${PREFIX}/share/pixmaps/xcdricon.xpm
.include <bsd.port.mk>