Index: en_US.ISO8859-1/books/porters-handbook/porting-samplem/chapter.xml =================================================================== --- en_US.ISO8859-1/books/porters-handbook/porting-samplem/chapter.xml +++ en_US.ISO8859-1/books/porters-handbook/porting-samplem/chapter.xml @@ -49,6 +49,9 @@ [section for distributed patches -- can be empty] PATCH_SITES= ftp://ftp.sra.co.jp/pub/X11/japanese/ PATCHFILES= xdvi-18.patch1.gz xdvi-18.patch2.gz +[If the distributed patches were not made relative to ${WRKSRC}, + this may need to be tweaked] +PATCH_DIST_STRIP= -p1 [maintainer; *mandatory*! This is the person who is volunteering to handle port updates, build breakages, and to whom a users can direct @@ -65,21 +68,17 @@ [dependencies -- can be empty] RUN_DEPENDS= gs:print/ghostscript +[If it requires GNU make, not /usr/bin/make, to build add gmake, +If it is an X application and requires "xmkmf -a" to be run add imake] +USES= gmake imake [this section is for other standard bsd.port.mk variables that do not belong to any of the above] [If it asks questions during configure, build, install...] IS_INTERACTIVE= yes [If it extracts to a directory other than ${DISTNAME}...] WRKSRC= ${WRKDIR}/xdvi-new -[If the distributed patches were not made relative to ${WRKSRC}, - this may need to be tweaked] -PATCH_DIST_STRIP= -p1 [If it requires a "configure" script generated by GNU autoconf to be run] GNU_CONFIGURE= yes -[If it requires GNU make, not /usr/bin/make, to build...] -USES= gmake -[If it is an X application and requires "xmkmf -a" to be run...] -USES= imake [et cetera.] [non-standard variables to be used in the rules below]