diff options
author | ak <ak@FreeBSD.org> | 2012-06-02 18:01:24 +0800 |
---|---|---|
committer | ak <ak@FreeBSD.org> | 2012-06-02 18:01:24 +0800 |
commit | f8a10b41f49da8f1378b899cc45e1375a4b2a9bf (patch) | |
tree | e506aa76d1fe78fe84a047a5b2df748d697735bd /games | |
parent | 54d6ed8f9c0e72aa995fdc00ddcb3c020eb39651 (diff) | |
download | freebsd-ports-gnome-f8a10b41f49da8f1378b899cc45e1375a4b2a9bf.tar.gz freebsd-ports-gnome-f8a10b41f49da8f1378b899cc45e1375a4b2a9bf.tar.zst freebsd-ports-gnome-f8a10b41f49da8f1378b899cc45e1375a4b2a9bf.zip |
- Resolve conflict with misc/shuffle [1]
- Clarify wrapper option
Submitted by: ketas <madis555@hot.ee> [1]
Approved by: eadler, itetcu (mentors, implicit)
Diffstat (limited to 'games')
-rw-r--r-- | games/evilfinder/Makefile | 17 | ||||
-rw-r--r-- | games/evilfinder/pkg-plist | 2 |
2 files changed, 5 insertions, 14 deletions
diff --git a/games/evilfinder/Makefile b/games/evilfinder/Makefile index 1d462b11b882..e363ef1a7bd7 100644 --- a/games/evilfinder/Makefile +++ b/games/evilfinder/Makefile @@ -7,7 +7,7 @@ PORTNAME= evilfinder PORTVERSION= 1.00 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= http://lcamtuf.coredump.cx/ DISTNAME= ef @@ -18,7 +18,7 @@ COMMENT= Numerologically determine the evilness of things WRKSRC= ${WRKDIR}/${PORTNAME} -OPTIONS= WRAPPER "Build with evilfinder wrapper" on +OPTIONS= WRAPPER "Evilfinder local wrapper" on .include <bsd.port.pre.mk> @@ -29,19 +29,10 @@ PLIST_SUB+= WRAPPER="" PLIST_SUB+= WRAPPER="@comment " .endif -pre-everything:: -.if !defined(WITHOUT_WRAPPER) - @${ECHO_MSG} "********************************************" - @${ECHO_MSG} "Define WITHOUT_WRAPPER to build without the" - @${ECHO_MSG} "\"evilfinder\" wrapper, which makes the port" - @${ECHO_MSG} "a web-oriented application." - @${ECHO_MSG} "********************************************" -.endif - post-patch: @${REINPLACE_CMD} -e '/^CFLAGS/d' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e "s|evilnumbers.dat|${DATADIR}/evilnumbers.dat|; \ - s|./shuffle|${PREFIX}/bin/shuffle|" \ + s|./shuffle|${PREFIX}/libexec/ef-shuffle|" \ ${WRKSRC}/ef.c .if !defined(WITHOUT_WRAPPER) @${SED} -e "s|%%PREFIX%%|${PREFIX}|; \ @@ -51,7 +42,7 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ef ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/shuffle ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/shuffle ${PREFIX}/libexec/ef-shuffle ${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/evilnumbers.dat ${DATADIR} .if !defined(WITHOUT_WRAPPER) diff --git a/games/evilfinder/pkg-plist b/games/evilfinder/pkg-plist index 45c15e41287f..b3e546845394 100644 --- a/games/evilfinder/pkg-plist +++ b/games/evilfinder/pkg-plist @@ -1,6 +1,6 @@ bin/ef %%WRAPPER%%bin/evilfinder -bin/shuffle +libexec/ef-shuffle %%PORTDOCS%%%%DOCSDIR%%/README %%DATADIR%%/evilnumbers.dat %%PORTDOCS%%@dirrm %%DOCSDIR%% |