On Thu, Feb 09, 2017 at 02:50:12PM +0100, Andre Stoebe wrote:
> Hi,
> 
> attached is dicepassc, a small utility I wrote.
> 
> Comment:
> passphrase generator based on Diceware and EFF wordlists
> 
> Homepage:
> https://www.nul.space/dicepassc/
> 
> Regards
> Andre

portcheck didn't complain, make lib-depends-check is happy too.

However I see that in sources of the app you hardcode `/usr/local`
path. I think it would be better to add to the ports Makefile something
as follows:


--- Makefile    Thu Feb  9 10:32:39 2017
+++ Makefile.new        Sun Feb 12 19:30:38 2017
@@ -19,4 +19,8 @@
 
 NO_TEST =              Yes
 
+pre-configure:
+       sed -i -e "s,/usr/local,${PREFIX},g;" \
+               ${WRKSRC}/Makefile ${WRKSRC}/dicepassc.c ${WRKSRC}/dicepassc.1
+
 .include <bsd.port.mk>


-- 
best regards
q#

Reply via email to