diff --git a/en/gnome/docs/Makefile b/en/gnome/docs/Makefile index aef224d808..84b2c748a5 100644 --- a/en/gnome/docs/Makefile +++ b/en/gnome/docs/Makefile @@ -1,12 +1,13 @@ # $FreeBSD$ .if exists(../Makefile.conf) .include "../Makefile.conf" .endif .if exists(../Makefile.inc) .include "../Makefile.inc" .endif DOCS= faq.sgml +DOCS+= porting.sgml .include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/en/gnome/docs/porting.sgml b/en/gnome/docs/porting.sgml new file mode 100644 index 0000000000..314b1cccd8 --- /dev/null +++ b/en/gnome/docs/porting.sgml @@ -0,0 +1,66 @@ + + + + + %includes; +]> + +&header; + +
+ General instructions can be found in the FreeBSD Porter's Handbook. + For ports that require GNOME, you should define the following in your +port's Makefile: + ++USE_GNOME= yes +USE_X_PREFIX= yes ++ + These will take care of the install prefix and requiring all the core GNOME +dependencies. If your port can use GNOME, but it isn't required, you can +define the following in your Makefile: + ++WANT_GNOME= yes ++ + If the user has defined WITH_GNOME in their /etc/make.conf +then GNOME components will be built. Other useful GNOME-related macros +that can be define in your port's Makefile include: + +
The more ported applications we have, the better. + |
+