Update the example Makefile to bring in new autotools changes, better
MASTER_SITE_SUBDIR handling, and the new ltverhack component.
This commit is contained in:
parent
219a0ee1ca
commit
9da4ffbea4
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=27686
1 changed files with 5 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" [
|
||||
<!ENTITY base CDATA "../..">
|
||||
<!ENTITY date "$FreeBSD: www/en/gnome/docs/example-Makefile.sgml,v 1.7 2005/10/04 20:06:58 hrs Exp $">
|
||||
<!ENTITY date "$FreeBSD: www/en/gnome/docs/example-Makefile.sgml,v 1.8 2005/12/29 06:42:27 adamw Exp $">
|
||||
<!ENTITY title "FreeBSD GNOME Project: Example GNOME Makefile">
|
||||
<!ENTITY % navincludes SYSTEM "../includes.navgnome.sgml"> %navincludes;
|
||||
<!ENTITY % gnomeincludes SYSTEM "../includes.sgml"> %gnomeincludes;
|
||||
|
@ -17,7 +17,7 @@
|
|||
# Date created: 27 December 2003
|
||||
# Whom: Some GNOME User <&email;@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD: www/en/gnome/docs/example-Makefile.sgml,v 1.7 2005/10/04 20:06:58 hrs Exp $
|
||||
# $FreeBSD: www/en/gnome/docs/example-Makefile.sgml,v 1.8 2005/12/29 06:42:27 adamw Exp $
|
||||
#
|
||||
|
||||
# For this example, assume there was already a gnomeapp in the tree, and that this
|
||||
|
@ -25,7 +25,7 @@
|
|||
PORTNAME= gnomeapp2
|
||||
PORTVERSION= &gnomever;.2
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2//}/&gnomever;
|
||||
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
|
||||
DISTNAME= ${PORTNAME:S/2//}-${PORTVERSION}
|
||||
DIST_SUBDIR= gnome2
|
||||
|
||||
|
@ -34,7 +34,8 @@ COMMENT= A GNOME app that does some stuff
|
|||
|
||||
USE_BZIP2= yes
|
||||
USE_X_PREFIX= yes
|
||||
USE_LIBTOOL_VER=15 # many GNOME apps need libtool, and most need GNU configure
|
||||
GNU_CONFIGURE= yes # NOTE: if the port needs ltverhack, this must be
|
||||
USE_AUTOTOOLS=libtool:15
|
||||
USE_GMAKE= yes # same with GNU make
|
||||
# This is for i18n:
|
||||
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
|
|
Loading…
Reference in a new issue