940cbde1f9
* Take care to set a sane PATH. * Add set -e * Copy example files into ${PREFIX}/share/examples/PORTNAME. * Replace PKGNAME with P_NAME in INSTALL/DEINSTALL scripts, unclear since it already exists in the Makefile with a different value. * Change output of INSTALL/DEINSTALL to be more like other scripts found in the tree(suggested by heko@). * Print correct names in DEINSTALL scripts(spotted by Aleksander Piotrowski <alek@piestrak.waw.pl>) From maintainer Nils Nordman <nino@nforced.com>.
34 lines
849 B
Makefile
34 lines
849 B
Makefile
# $OpenBSD: Makefile,v 1.6 2001/09/20 20:01:22 naddy Exp $
|
|
|
|
COMMENT= "Object Activation Framework for GNOME"
|
|
V= 0.6.5
|
|
DISTNAME= oaf-${V}
|
|
CATEGORIES= devel
|
|
NEED_VERSION= 1.455
|
|
HOMEPAGE= http://www.gnome.org
|
|
MAINTAINER= Nils Nordman <nino@nforced.com>
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
MASTER_SITE_SUBDIR= unstable/sources/oaf
|
|
|
|
LIB_DEPENDS= ORBit.5::devel/ORBit \
|
|
xml.9::textproc/libxml1 \
|
|
popt::devel/popt
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
USE_X11= Yes
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
post-install:
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/oaf; \
|
|
cp -rp ${WRKINST}/${SYSCONFDIR}/* ${PREFIX}/share/examples/oaf/
|
|
|
|
.include <bsd.port.mk>
|