Index: head/games/agame/Makefile =================================================================== --- head/games/agame/Makefile (revision 318821) +++ head/games/agame/Makefile (revision 318822) @@ -1,56 +1,54 @@ -# New ports collection makefile for: agame -# Date created: 30 Jul 2006 -# Whom: Dmitry Marakasov -# +# Created by: Dmitry Marakasov # $FreeBSD$ -# PORTNAME= agame PORTVERSION= 1577 PORTREVISION= 11 CATEGORIES= games MASTER_SITES= http://zevv.nl/play/code/game/ \ http://critical.ch/distfiles/ \ http://energy.critical.ch/distfiles/ DISTNAME= game-src-${PORTVERSION} EXTRACT_SUFX= .tgz MAINTAINER= amdmi3@FreeBSD.org COMMENT= Simple Tetris-like game LICENSE= GPLv2 USE_SDL= sdl image mixer USE_GMAKE= yes MAKE_JOBS_SAFE= yes WRKSRC= ${WRKDIR}/game PORTDOCS= README.TXT DESKTOP_ENTRIES="game" \ "A simple tetris-like game" \ "${DATADIR}/img/icon.png" \ "game" \ "Game;BlocksGame;" \ false +.include + post-patch: @${REINPLACE_CMD} -Ee 's,wav/|mp3/|img/,${DATADIR}/&,g' ${WRKSRC}/main.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/game ${PREFIX}/bin .for dir in wav mp3 img ${MKDIR} ${DATADIR}/${dir} ${INSTALL_DATA} ${WRKSRC}/${dir}/* ${DATADIR}/${dir}/ .endfor -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} post-install: ${MKDIR} ${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor .endif .include Index: head/games/rezerwar/Makefile =================================================================== --- head/games/rezerwar/Makefile (revision 318821) +++ head/games/rezerwar/Makefile (revision 318822) @@ -1,34 +1,32 @@ -# New ports collection makefile for: rezerwar -# Date created: 09 Jul 2009 -# Whom: Dmitry Marakasov -# +# Created by: Dmitry Marakasov # $FreeBSD$ -# PORTNAME= rezerwar PORTVERSION= 0.4.2 PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://tamentis.com/projects/rezerwar/files/ \ http://mirror.amdmi3.ru/distfiles/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Puzzle game involving organizing blocks with pipes USE_GMAKE= yes USE_SDL= sdl mixer HAS_CONFIGURE= yes CONFIGURE_ARGS= Unix MAKE_JOBS_SAFE= yes CONFIGURE_ENV= TARGET_BIN=${PREFIX}/bin \ TARGET_DOC=${DOCSDIR} \ TARGET_DATA=${DATADIR} PORTDOCS= * -.if defined(NOPORTDOCS) +.include + +.if ! ${PORT_OPTIONS:MDOCS} post-patch: @${REINPLACE_CMD} -e '/TARGET_DOC/ d' ${WRKSRC}/mkfiles/Makefile.main .endif .include Index: head/games/sdl-ball/Makefile =================================================================== --- head/games/sdl-ball/Makefile (revision 318821) +++ head/games/sdl-ball/Makefile (revision 318822) @@ -1,35 +1,33 @@ -# New ports collection makefile for: sdl-ball -# Date created: 22 Apr 2008 -# Whom: Dmitry Marakasov -# +# Created by: Dmitry Marakasov # $FreeBSD$ -# PORTNAME= sdl-ball PORTVERSION= 1.01 PORTREVISION= 7 CATEGORIES= games MASTER_SITES= SF MAINTAINER= amdmi3@FreeBSD.org COMMENT= Arkanoid/Breakout clone with pretty graphics USE_BZIP2= yes USE_SDL= sdl mixer image ttf USE_GL= gl glu MAKE_ENV= DATADIR=${DATADIR}/ WRKSRC= ${WRKDIR}/${PORTNAME} PORTDOCS= * +.include + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sdl-ball ${PREFIX}/bin/ ${MKDIR} ${DATADIR} cd ${WRKSRC}/themes && ${COPYTREE_SHARE} . ${DATADIR}/ -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ .endif .include Index: head/games/volleyball/Makefile =================================================================== --- head/games/volleyball/Makefile (revision 318821) +++ head/games/volleyball/Makefile (revision 318822) @@ -1,55 +1,53 @@ -# New ports collection makefile for: volleyball -# Date created: 09 Oct 2005 -# Whom: Dmitry Marakasov -# +# Created by: Dmitry Marakasov # $FreeBSD$ -# PORTNAME= volleyball PORTVERSION= 0.8.6 PORTREVISION= 10 CATEGORIES= games MASTER_SITES= http://www.losersjuegos.com.ar/_media/juegos/volleyball/descargas/ \ http://mirror.amdmi3.ru/distfiles/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${PORTNAME}-data-${DATAVERSION}${EXTRACT_SUFX} MAINTAINER= amdmi3@FreeBSD.org COMMENT= A game similar to GNU Arcade Volleyball USE_SDL= sdl image mixer USE_GMAKE= yes GNU_CONFIGURE= yes USES= gettext LDFLAGS+= -L${LOCALBASE}/lib -lintl CONFIGURE_ARGS= --mandir="${MANPREFIX}/man" --disable-nls # strangeness in nls support MAKE_JOBS_SAFE= yes PORTDOCS= README MAN6= volleyball.6 DATAVERSION= 0.8.5 DESKTOP_ENTRIES="Pocket Volleyball" \ "A game similar to GNU Arcade Volleyball" \ "" \ "volleyball" \ "Game;SportsGame;ArcadeGame;" \ false +.include + post-configure: cd ${WRKDIR}/${PORTNAME}-data-${DATAVERSION} && \ ${SETENV} ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} post-install: cd ${WRKDIR}/${PORTNAME}-data-${DATAVERSION} && \ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ .endfor .endif .include Index: head/mail/findmaildirs/Makefile =================================================================== --- head/mail/findmaildirs/Makefile (revision 318821) +++ head/mail/findmaildirs/Makefile (revision 318822) @@ -1,27 +1,25 @@ -# New ports collection makefile for: findmaildirs -# Date created: 24 Feb 2012 -# Whom: Dmitry Marakasov -# +# Created by: Dmitry Marakasov # $FreeBSD$ -# PORTNAME= findmaildirs PORTVERSION= 0.1 CATEGORIES= mail MASTER_SITES= http://cloud.github.com/downloads/AMDmi3/findmaildirs/ \ http://mirror.amdmi3.ru/distfiles/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Simple utility to create list of maildirs for mutt PLIST_FILES= bin/${PORTNAME} PORTDOCS= README -.if !defined(NOPORTDOCS) +.include + +.if ${PORT_OPTIONS:MDOCS} post-install: ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ .endif .include Index: head/misc/metromap/Makefile =================================================================== --- head/misc/metromap/Makefile (revision 318821) +++ head/misc/metromap/Makefile (revision 318822) @@ -1,43 +1,41 @@ -# New ports collection makefile for: metromap -# Date created: 2005-07-01 -# Whom: Vsevolod Stakhov -# +# Created by: Vsevolod Stakhov # $FreeBSD$ -# PORTNAME= metromap PORTVERSION= 0.1.4 PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= http://metromap.antex.ru/ \ http://mirror.amdmi3.ru/distfiles/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= A simple application for finding paths in different subways maps LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/doc/COPYING USE_PYTHON= yes USE_GNOME= pygtk2 USE_BZIP2= yes USE_GMAKE= yes USES= gettext PORTDOCS= AUTHORS NEWS README README.data TODO +.include + post-patch: @${REINPLACE_CMD} -e 's,/usr,${PREFIX},' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's,make,${GMAKE},' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's,/usr/bin/python,${SETENV} python,' ${WRKSRC}/metromap.py @${RM} -f ${WRKSRC}/modules/ReadMap.py.orig -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} post-install: ${MKDIR} ${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}/ .endfor .endif .include Index: head/security/bruteblock/Makefile =================================================================== --- head/security/bruteblock/Makefile (revision 318821) +++ head/security/bruteblock/Makefile (revision 318822) @@ -1,54 +1,50 @@ -# New ports collection makefile for: bruteblock -# Date created: 30 Jul 2006 -# Whom: Dmitry Marakasov -# +# Created by: Dmitry Marakasov # $FreeBSD$ -# PORTNAME= bruteblock PORTVERSION= 0.0.5 PORTREVISION= 4 CATEGORIES= security MASTER_SITES= http://samm.kiev.ua/bruteblock/ \ http://mirror.amdmi3.ru/distfiles/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Software for blocking bruteforce attacks with ipfw LIB_DEPENDS= pcre.3:${PORTSDIR}/devel/pcre PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message MAKE_JOBS_SAFE= yes USE_RC_SUBR= bruteblockd MAN8= bruteblock.8 CONFDIR= ${PREFIX}/etc/${PORTNAME} PORTDOCS= FAQ README CHANGES +.include + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bruteblock ${PREFIX}/sbin/ ${INSTALL_PROGRAM} ${WRKSRC}/bruteblockd ${PREFIX}/sbin/ ${MKDIR} ${PREFIX}/etc/bruteblock .for file in ssh proftpd ${INSTALL_DATA} ${WRKSRC}/etc/${file}.conf ${CONFDIR}/${file}.conf.dist if [ ! -f ${CONFDIR}/${file}.conf ]; then \ ${INSTALL_DATA} ${CONFDIR}/${file}.conf.dist ${CONFDIR}/${file}.conf; \ fi .endfor ${INSTALL_MAN} ${WRKSRC}/doc/bruteblock.8 ${PREFIX}/man/man8/ -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/doc/FAQ ${DOCSDIR}/ @${INSTALL_DATA} ${WRKSRC}/doc/README ${DOCSDIR}/ @${INSTALL_DATA} ${WRKSRC}/doc/CHANGES ${DOCSDIR}/ .endif post-install: -.if !defined(BATCH) @${CAT} ${PKGMESSAGE} -.endif .include