3f651573ad
Begin autotools sanitization sequence by requiring ports to explicitly specify which version of {libtool,autoconf,automake} they need, erasing the concept of a "system default". For ports-in-waiting: USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13 USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213 USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14 Ports attempting to use the old style system after June 1st 2004 will be sorely disappointed.
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# New ports collection makefile for: libspectrum
|
|
# Date created: 2003-10-27
|
|
# Whom: Alexey V. Antipovsky <kemm@in-line.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libspectrum
|
|
PORTVERSION= 0.2.0.1
|
|
CATEGORIES= emulators devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= fuse-emulator
|
|
|
|
MAINTAINER= kemm@in-line.ru
|
|
COMMENT= Handling of ZX-Spectrum emulator files formats
|
|
|
|
USE_PERL5_BUILD= yes
|
|
USE_GNOME= glib12
|
|
USE_LIBTOOL_VER=13
|
|
INSTALLS_SHLIB= yes
|
|
|
|
.if !defined(WITHOUT_GLIB)
|
|
USE_GNOME= glib12
|
|
.else
|
|
CONFIGURE_ARGS= --without-glib
|
|
.endif
|
|
|
|
.if defined(WITH_GCRYPT) || exists(${LOCALBASE}/include/gcrypt.h)
|
|
LIB_DEPENDS= gcrypt.6:${PORTSDIR}/security/libgcrypt
|
|
.endif
|
|
|
|
DOCS= AUTHORS ChangeLog README THANKS doc/*
|
|
|
|
pre-everything::
|
|
@${ECHO_MSG} ""
|
|
@${ECHO_MSG} "You may use the following build options:"
|
|
@${ECHO_MSG} ""
|
|
@${ECHO_MSG} " WITHOUT_GLIB=yes don't use GLib"
|
|
@${ECHO_MSG} " WITH_GCRYPT=yes use libgcrypt"
|
|
@${ECHO_MSG} ""
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
post-install:
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|